Академический Документы
Профессиональный Документы
Культура Документы
1
12.2
BioPerl
The BioPerl project is an international association of developers of open source Perl tools for
bioinformatics, genomics and life science research.
The Bio::SeqIO function “next_seq” returns an object of the Bio::Seq module. This module provides
functions like id() (returns the first word in the header line before the first space), desc() (the rest of the header line),
length() and seq() (return sequence length). You can read more about it in: http://
www.bioperl.org/wiki/HOWTO:Beginners#The_Sequence_Object
12.6
BioPerl: Parsing a GenBank file
The Bio::Seq can read and parse the adenovirus genome file for us:
Download
Text
12.10
BioPerl: reading BLAST output
12.11
BioPerl: reading BLAST output
12.12
BioPerl: reading BLAST output
The Bio::SearchIO module can read and parse BLAST output:
use Bio::SearchIO;
my $blast_report =
new Bio::SearchIO ("-format" => "blast",
"-file" => "mice.blast");
while (my $result = $blast_report->next_result) {
print "Checking query ", $result->query_name, "\n";
while (my $hit = $result->next_hit()) {
print "Checking hit ", $hit->name(), "\n";
my $hsp = $hit->next_hsp();
print $hsp->hit->start()...
$hsp->hit->end()...
}
}
(See the blast example in lesson 1)