<div dir="ltr"><div><div>Hi Sergio:<br></div>If your read headers don't start with "@" then you don't have a valid fastq file:<br><a href="https://en.wikipedia.org/wiki/FASTQ_format">https://en.wikipedia.org/wiki/FASTQ_format</a><br></div>Jocelyne<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 27, 2015 at 10:27 AM, Sergio Martinez Cuesta <span dir="ltr"><<a href="mailto:Sergio.MartinezCuesta@cruk.cam.ac.uk" target="_blank">Sergio.MartinezCuesta@cruk.cam.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
How can I use biopython in order to figure out which of the read headers in my fastq file do not start with the character "@"?<br>
<br>
The record and title objects in the SeqIO.parse and FastqGeneralIterator functionalities assume headers start with "@".<br>
<br>
Thanks in advance.<br>
Sergio<br>
_______________________________________________<br>
Biopython mailing list - <a href="mailto:Biopython@mailman.open-bio.org" target="_blank">Biopython@mailman.open-bio.org</a><br>
<a href="http://mailman.open-bio.org/mailman/listinfo/biopython" rel="noreferrer" target="_blank">http://mailman.open-bio.org/mailman/listinfo/biopython</a><br>
</blockquote></div><br></div>