FASTA format files consist of a description line, beginning with a ’>’ character, followed by the sequence itself:
All of the characters of the description line are read, and special characters can be used to indicate additional information about the sequence. In general, non-amino-acid/non-nucleotide sequences in the sequence lines are ignored.
FASTA format files from major sequence distributors, like the NCBI and EBI, have specially formatted description lines, e.g.:
or
[...] You can build your own library by concatenating several sequence files. Just be sure that each sequence is preceded by a line beginning with a ’>’ followed by a sequence name/description.
Code:
>sequence name and description 1
A F A S Y T .... actual sequence.
F S S .... second line of sequence.
>sequence name and description 2
PMILTYV ... sequence 2
FASTA format files from major sequence distributors, like the NCBI and EBI, have specially formatted description lines, e.g.:
Code:
>gi|54321|ref|np 12345| example NCBI refused sequence
Code:
>sw:gstm1 human P01234 glutathione transferase GSTM1 - human
Be that as it may, the SAM format specification does include the TAB-delimited nature of the fields. htseq-count seems fully capable of parsing this format correctly, but apparently expects a string not containing any white space in the RNAME field. As to why or what for, I have no idea and am much to busy to dig into that code. featureCounts IS much faster and the results compare well between the two tools.

Leave a comment: