How to read fastq files on both sides at the same time by bioperl
This article mainly shows you "bioperl how to read both sides of the fastq file at the same time", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "bioperl how to read both sides of the fastq file at the same time" this article.
Bioperl reads fastq files on both sides at the same time
Bioperl can read and process fastq files, and it is usually a double-ended sequence, and it can read two files at the same time, as follows:
While (my $obj1=$fq1- > next_seq () and my $obj2=$fq2- > next_seq ()) {
My ($id1,$id2) = ($obj1- > id,$obj2- > id)
....
}
In this way, the corresponding sequences in read1 and read2 can be read simultaneously.
The above is all the contents of the article "how bioperl reads fastq files on both sides at the same time". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!