Bio::SeqFeatureIBio::SeqFeatureI is an abstract interface of a sequence feature. | |
Download |
Bio::SeqFeatureI Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Ewan Birney
- Publisher web site:
- http://search.cpan.org/~birney/bioperl-1.4/Bio/Tools/Prints.pm
Bio::SeqFeatureI Tags
Bio::SeqFeatureI Description
Bio::SeqFeatureI is an abstract interface of a sequence feature. Bio::SeqFeatureI is an abstract interface of a sequence feature.SYNOPSIS # get a seqfeature somehow, eg, from a Sequence with Features attached foreach $feat ( $seq->get_SeqFeatures() ) { print "Feature from ", $feat->start, "to ", $feat->end, " Primary tag ", $feat->primary_tag, ", produced by ", $feat->source_tag(), "n"; if( $feat->strand == 0 ) { print "Feature applicable to either strandn"; } else { print "Feature on strand ", $feat->strand,"n"; # -1,1 } print "feature location is ",$feat->start, "..", $feat->end, " on strand ", $feat->strand, "n"; print "easy utility to print locations in GenBank/EMBL way ", $feat->location->to_FTstring(), "n"; foreach $tag ( $feat->get_all_tags() ) { print "Feature has tag ", $tag, " with values, ", join(' ',$feat->get_tag_values($tag)), "n"; } print "new featuren" if $feat->has_tag('new'); # features can have sub features my @subfeat = $feat->get_SeqFeatures(); } Requirements: · Perl
Bio::SeqFeatureI Related Software