Off topic: Get Fasta file with Protein Sequences given a file with Genbank Ids using Perl
1
0
Entering edit mode
8.1 years ago
Andrea ▴ 60

The following code allows you to download a protein sequence from Genbank and the store it in a fasta file.

use Bio::DB::GenBank;
my $gb=new Bio::DB::GenBank;
my $seq= $gb->get_Seq_by_id ('ADE06225');

write_sequence (">roar.fa", 'fasta',$seq );

But what if i want to make Perl download all the sequences given a file with protein Ids and then store it to a fasta file?

ADE06225
KJU84168
CEJ19818
AEG68532
......
.....
perl database download sequences Database Bioperl • 1.4k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1766 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6