broadinstitute/viral-ngs — pull request #47 by mlin (2014-12-14 09:10:28+00:00)
Title: tools/scripts/noBlastLikeHits.py: handle FASTQ header lines with descriptions (e.g. SRA)

Observed taxon_filter failing on FASTQ generated from SRA because of the way they add optional descriptions to the read ID lines: http://en.wikipedia.org/wiki/FASTQ_format#NCBI_Sequence_Read_Archive

Adjusts how `tools/scripts/noBlastLikeHits.py` parses the read IDs to handle these.

Example SRA FASTQ record:

```
@SRR1553416.2237.1 2237 length=101
ATTCAGATTAGGCCCCAAGAGGCATTCTTCATCTCCTTTTAGCAAAATACTATTTCAGGATAGTCCAGCTAGTGACACGTCTTTTAGCTGTATACCAGTTG
+SRR1553416.2237.1 2237 length=101
=@?=ADDFFHHFHIIIIJJIIFIGIJHIJIIIIIIJJIJJJIIJJJI@EIIIIGJIJJJIJIIFHIIIJIJCHIGHHGGFFFFFEC@CEEDDEDDDDACDA
```