NAME
Bio::Assembly::ContigAnalysis -
Perform analysis on sequence assembly contigs.
SYNOPSIS
# Module loadinguse Bio::Assembly::ContigAnalysis;# Assembly loading methodsmy $ca = Bio::Assembly::ContigAnalysis->new( -contig=>$contigOBJ );my @lcq = $ca->low_consensus_quality;my @hqd = $ca->high_quality_discrepancies;my @ss = $ca->single_strand_regions;
DESCRIPTION
A contig is as a set of sequences, locally aligned to each other, when the sequences in a pair may be aligned. It may also include a consensus sequence. Bio::Assembly::ContigAnalysis is a module holding a collection of methods to analyze contig objects. It was developed around the Bio::Assembly::Contig implementation of contigs and can not work with another contig interface.
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing lists Your participation is much appreciated.
[email protected] - General discussionhttp://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
AUTHOR - Robson Francisco de Souza
Email: [email protected]
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
Object creator
new
Title : newUsage : my $contig = Bio::Assembly::ContigAnalysis->new(-contig=>$contigOBJ);Function : Creates a new contig analysis objectReturns : Bio::Assembly::ContigAnalysisArgs :-contig : a Bio::Assembly::Contig object
Analysis methods
high_quality_discrepancies
Title : high_quality_discrepanciesUsage : my $sfc = $ContigAnal->high_quality_discrepancies();Function :Locates all high quality discrepancies among alignedsequences and the consensus sequence.Note: see Bio::Assembly::Contig POD documentation,section "Coordinate System", for a definition ofavailable types. Default coordinate system type is"gapped consensus", i.e. consensus sequence (with gaps)coordinates. If limits are not specified, the entirealignment is analyzed.Returns : Bio::SeqFeature::CollectionArgs : optional arguments are-threshold : cutoff value for low quality (minimum high quality)Default: 40-ignore : number of bases that will not be analysed atboth ends of contig aligned elementsDefault: 5-start : start of interval that will be analyzed-end : start of interval that will be analyzed-type : coordinate system type for interval
low_consensus_quality
Title : low_consensus_qualityUsage : my $sfc = $ContigAnal->low_consensus_quality();Function : Locates all low quality regions in the consensusReturns : an array of Bio::SeqFeature::Generic objectsArgs : optional arguments are-threshold : cutoff value for low quality (minimum high quality)Default: 25-start : start of interval that will be analyzed-end : start of interval that will be analyzed-type : coordinate system type for interval
not_confirmed_on_both_strands
Title : low_quality_consensusUsage : my $sfc = $ContigAnal->low_quality_consensus();Function :Locates all regions whose consensus bases were notconfirmed by bases from sequences aligned in bothorientations, i.e., in such regions, no bases in alignedsequences of either +1 or -1 strand agree with theconsensus bases.Returns : an array of Bio::SeqFeature::Generic objectsArgs : optional arguments are-start : start of interval that will be analyzed-end : start of interval that will be analyzed-type : coordinate system type for interval
single_strand
Title : single_strandUsage : my $sfc = $ContigAnal->single_strand();Function :Locates all regions covered by aligned sequences only inone of the two strands, i.e., regions for which alignedsequence's strand() method returns +1 or -1 for allsequences.Returns : an array of Bio::SeqFeature::Generic objectsArgs : optional arguments are-start : start of interval that will be analyzed-end : start of interval that will be analyzed-type : coordinate system type for interval
Internal Methods
_merge_overlapping_features
Title : _merge_overlapping_featuresUsage : my @feat = $ContigAnal->_merge_overlapping_features(@features);Function : Merge all overlapping features into featuresthat hold original features as sub-featuresReturns : array of Bio::SeqFeature::Generic objectsArgs : array of Bio::SeqFeature::Generic objects
_complementary_features_list
Title : _complementary_features_listUsage : @feat = $ContigAnal->_complementary_features_list($start,$end,@features);Function : Build a list of features for regionsnot covered by features in @features arrayReturns : array of Bio::SeqFeature::Generic objectsArgs :$start : [integer] start of first output feature$end : [integer] end of last output feature@features : array of Bio::SeqFeature::Generic objects