代码示例:
use Bio::DB::EUtilities; my @ids = qw(CAB02640 EAS10332 YP_250808 NP_623143 P41007); my $factory = Bio::DB::EUtilities->new(-eutil => ‘efetch‘, -db => ‘protein‘, -id => \@ids, -email => ‘[email protected]‘, -rettype => ‘gi‘); my @gis = split(m{\n},$factory->get_Response->content); print join(‘,‘,@gis), "\n";
参考资料:
http://bioperl.org/howtos/EUtilities_Cookbook_HOWTO.html
时间: 2024-10-06 14:04:15