资 源 简 介
This is a module for interacting with multilocus sequence typing websites. As of now, it works only with pubmlst.org.
For now I am just bringing in the examples one by one from the table shown at http://pubmlst.org/api/. Those examples are written by Keith Jolley.
Some Examples
All Examples
```
use Bio::Perl;
use Bio::Tools::Mlst;
my $seqout=Bio::SeqIO->new(-format=>"fasta");
my $database="neisseria";
my $locus="abcZ";
my $repository="pubmlst";
the only required parameter is "repository," but "database" can be used instead to determine the repository.
$pubmlst=Bio::Tools::Mlst->new({database=>$database,locus=>$locus});
look at the database list
@db=$pubmlst->getDatabaseList();
print join(" ",values(%{$db[-1]}))."
";
blast against the database
@blastHit=$pubmlst->blast({sequence=>$sequence,numresults=>3})