I am reporting a problem with Biopython 1.72 , Python 3.7.1 on Fedora 29
When reading in FASTQ files with SeqIO with differing lines 1 (header) and 3 (optional) we get the above error message. We use Biopython to post-process unmapped reads from metagenomics mapping and tend to use line three to add information about runs and metagenomes used, which seems to be a topic of controversial opinions, however, I fail to understand why
|
# The title here is optional, but if present must match! |
|
second_title = line[1:].rstrip() |
|
if second_title and second_title != title_line: |
|
raise ValueError("Sequence and quality captions differ.") |
|
break |
is so strict about this. Is this really necessary? And if yes is there a way to circumvent this?
Thanks for any help, highly appreciated
I am reporting a problem with Biopython 1.72 , Python 3.7.1 on Fedora 29
When reading in FASTQ files with SeqIO with differing lines 1 (header) and 3 (optional) we get the above error message. We use Biopython to post-process unmapped reads from metagenomics mapping and tend to use line three to add information about runs and metagenomes used, which seems to be a topic of controversial opinions, however, I fail to understand why
biopython/Bio/SeqIO/QualityIO.py
Lines 916 to 920 in e41e53e
is so strict about this. Is this really necessary? And if yes is there a way to circumvent this?
Thanks for any help, highly appreciated