Skip to content

Latest commit

 

History

History
 
 

1.17

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

htslib container

Main tool:

Additional tools:

  • perl 5.30.0

Example Usage

# determine file formats for various BAM and SAM files
$ htsfile tests/SARS-CoV-2/SRR13957123.primertrim.sorted.bam 
tests/SARS-CoV-2/SRR13957123.primertrim.sorted.bam:     BAM version 1 compressed sequence data

$ htsfile ce_tag_padded.sam
ce_tag_padded.sam:      SAM version 1.4 sequence text

# compresses sample.fastq to sample.fastq.gz in BGZF format (blocked GNU Zip Format)
$ bgzip sample.fastq

Better documentation can be found at https://www.htslib.org/doc/samtools.html