You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do realise that htsfile does not specifically claim to work with fastq data, but i think it should be able to parse these common formats and return a correct answer:
$ htsfile reads.fq
reads.fq: SAM version 1 sequence text
$ htsfile reads.fq.gz
reads.fq.gz: SAM version 1 BGZF-compressed sequence data
The text was updated successfully, but these errors were encountered:
Add htsExactFormat entries for these four file types to htslib/hts.h.
Place FASTQ in the sequence_data category as it can be considered to
be a representation of unmapped SAM. FASTA on the other hand is not,
as we don't operate on it in the same way as SAM/BAM/CRAM sequence data
and in particular we wouldn't ever want hts_open() to accept it, as
then swapping filename arguments in `samtools mpileup -f foo bar` etc
would be less detectable.
Fixessamtools#719.
jmarshall
added a commit
to jmarshall/htslib
that referenced
this issue
Aug 30, 2019
Add htsExactFormat entries for these four file types to htslib/hts.h.
Place FASTQ in the sequence_data category as it can be considered to
be a representation of unmapped SAM. FASTA on the other hand is not,
as we don't operate on it in the same way as SAM/BAM/CRAM sequence data
and in particular we wouldn't ever want hts_open() to accept it, as
then swapping filename arguments in `samtools mpileup -f foo bar` etc
would be less detectable.
Add tests verifying that FASTA and FASTQ (and SAM) can be read
line-by-line via hts_open/hts_getline/hts_close.
Fixessamtools#719.
I do realise that
htsfile
does not specifically claim to work with fastq data, but i think it should be able to parse these common formats and return a correct answer:The text was updated successfully, but these errors were encountered: