Bio::Seq
Details
| Size: | 4788K |
| Last Update: | 2008-05-03 00:39:36 |
| Version: | 1.4 |
| OS Support: | Linux |
| License/Program Type: | Perl Artistic License |
| Publisher: | Ewan Birney |
| Price: | $0.00 |
Description:
Bio::Seq 1.4 is libraries software developed by Ewan Birney.
Bio::Seq is a sequence object, with features.
SYNOPSIS
This is the main sequence object in Bioperl
gets a sequence from a file
$seqio = Bio::SeqIO->new( '-format' => 'embl' , -file => 'myfile.dat');
$seqobj = $seqio->next_seq();
SeqIO can both read and write sequences; see Bio::SeqIO
for more information and examples
get from database
$db = Bio::DB::GenBank->new();
$seqobj = $db->get_Seq_by_acc('X78121');
make from strings in script
$seqobj = Bio::Seq->new( -display_id => 'my_id',
-seq => $sequence_as_string);
gets sequence as a string from sequence object
$seqstr = $seqobj->seq(); actual sequence as a string
$seqstr = $seqobj->subseq(10,50); slice in biological coordinates
retrieves information from the sequence
features must implement Bio::SeqFeatureI interface
@features = $seqobj->get_SeqFeatures(); just top level
foreach my $feat ( @features ) {
print "Feature ",$feat->primary_tag," starts ",$feat->start," ends ",
$feat->end," strand ",$feat->strand,"n";
features retain link to underlying sequence object
print "Feature sequence is ",$feat->seq->seq(),"n"
}
sequences may have a species
if( defined $seq->species ) {
print "Sequence is from ",$species->binomial_name," [",$species->common_name,"]n";
}
annotation objects are Bio::AnnotationCollectionI's
$ann = $seqobj->annotation(); annotation object
references is one type of annotations to get. Also get
comment and dblink. Look at Bio::AnnotationCollection for
more information
foreach my $ref ( $ann->get_Annotations('reference') ) {
print "Reference ",$ref->title,"n";
}
you can get truncations, translations and reverse complements, these
all give back Bio::Seq objects themselves, though currently with no
features transfered
my $trunc = $seqobj->trunc(100,200);
my $rev = $seqobj->revcom();
there are many options to translate - check out the docs
my $trans = $seqobj->translate();
these functions can be chained together
my $trans_trunc_rev = $seqobj->trunc(100,200)->revcom->translate();
A Seq object is a sequence with sequence features placed on it. The Seq object contains a PrimarySeq object for the actual sequence and also implements its interface.
In Bioperl we have 3 main players that people are going to use frequently
Bio::PrimarySeq - just the sequence and its names, nothing else.
Bio::SeqFeatureI - a location on a sequence, potentially with a sequence
and annotation.
Bio::Seq - A sequence and a collection of sequence features
(an aggregate) with its own annotation.
Although Bioperl is not tied heavily to file formats these distinctions do map to file formats sensibly and for some bioinformaticians this might help
Bio::PrimarySeq - Fasta file of a sequence
Bio::SeqFeatureI - A single entry in an EMBL/GenBank/DDBJ feature table
Bio::Seq - A single EMBL/GenBank/DDBJ entry
By having this split we avoid a lot of nasty circular references (sequence features can hold a reference to a sequence without the sequence holding a reference to the sequence feature). See Bio::PrimarySeq and Bio::SeqFeatureI for more information.
Ian Korf really helped in the design of the Seq and SeqFeature system.
Requirements:
Perl
Bio::Seq 1.4 supports english interface languages and works with Linux.
Downloading Bio::Seq 1.4 will take minute if you use fast ADSL connection.
0 comments
Add to
Bio::Seq Version History
Related Software
|
|
From category: Libraries |
| BSPonMPI 0.2 is libraries software developed by Wijnand J. Suijlen. BSPonMPI is a platform independent software library for developing parallel programs. BSPonMPI implements the BSPlib standard (wi... |
|
|
From category: Libraries |
| Data::Page::Viewport 1.02 is libraries software developed by Ron Savage. Data::Page::Viewport is a Perl module to scroll thru data a page, or just an item, at a time. Synopsis This is... |
|
|
From category: Libraries |
| libetc is an LD_PRELOAD-able shared library designed for maintaining a home directory without dot-files.... |
|
|
From category: Perl-Modules |
| IMS::ReleaseMgr::Utils is a collection of utility routines for rlsmgr scripts.... |
|
|
From category: Debuggers |
| DIMVisual 0.2 is debuggers software developed by Lucas Schnorr. DIMVisual stands for Data Integration Model for Visualization. The implementation allows the integration of information to the analys... |
|
|
From category: Libraries |
| Net::DRI is a collection of object oriented Perl modules that provides an abstract and uniform interface for DNS providers.... |
|
|
From category: Libraries |
| Courier Authentication Library 0.58 is libraries software developed by Sam Varshavchik. Courier Authentication Library is an API toolkit for implementing password validation and account metadata lo... |
|
|
From category: Perl-Modules |
| Crypt::Eksblowfish is the Eksblowfish block cipher.... |
|
|
From category: Libraries |
| cgixx 1.07 is libraries software developed by Isaac W. Foraker. cgixx is intended as a modern CGI library for ISO standard C++ compilers. The focus of the cgixx library is not for the genera... |
|
|
From category: Libraries |
| Algorithm::C3 0.05 is libraries software developed by Stevan Little and Brandon L. Black. Algorithm::C3 is a module for merging hierarchies using the C3 algorithm. SYNOPSIS use Algo... |
|
|
From category: Libraries |
| CSVObjects 0.5b is libraries software developed by Anupam Sengupta. CSVObjects is a free and open sourced Java based framework for transparently parsing and unmarshalling Comma Separated Value (CS... |
|
|
From category: Code-Generators |
| cid-compiler 0.1 is code generators software developed by Markus W Weissmann. cid-compiler is a language tool to easily create C code with object oriented features. It\'s compiler generates header... |
|
|
From category: Libraries |
| Audio File Library 0.2.6 is libraries software developed by Michael Pruett. The Audio File Library provides a uniform and elegant API for accessing a variety of audio file formats, such as AIFF/AIF... |
|
|
From category: Assembler-Tools |
| Flat Assembler 1.67 is assembler tools software developed by Tomasz Grysztar. The flat assembler is a fast and efficient self-assembling 80x86 assembler for DOS, Windows, and Linux operating system... |
|
|
From category: Preprocessors |
| cpphs 1.0 is preprocessors software developed by Malcolm Wallace. cpphs is a liberalised re-implementation of cpp, the C pre-processor, in Haskell. Why re-implement cpp? Rightly or wrongly,... |
Leave a comment