X BOL wishing you a very and Happy New year

Alternative content

Our Sponsors



Download BioinformaticsOnline(BOL) Apps in your chrome browser.




Extract the fastq sequence with range in Perl

  • Public
By Neel 2703 days ago
use Bio::DB::Fasta; open(POSITIONS,"positions.txt"); while(<POSITIONS>){ chomp; my ($seqName,$begin,$end) = split(/\s/); my $db = Bio::DB::Fasta->new('allGenomeContacted.fa'); my $seq = $db->seq("$seqName", $begin => $end); print "$seq\n"; } close(POSITIONS);