NAME
Bio::Tools::Run::TigrAssembler - Wrapper for local execution of TIGR Assembler
v2
SYNOPSIS
use Bio::Tools::Run::TigrAssembler;# Run TIGR Assembler using an input FASTA filemy $factory = Bio::Tools::Run::TigrAssembler->new( -minimum_overlap_length => 35 );my $asm_obj = $factory->run($fasta_file, $qual_file);# An assembly object is returned by defaultfor my $contig ($assembly->all_contigs) {... do something ...}# Read some sequencesuse Bio::SeqIO;my $sio = Bio::SeqIO->new(-file => $fasta_file, -format => 'fasta');my @seqs;while (my $seq = $sio->next_seq()) {push @seqs,$seq;}# Run TIGR Assembler with input sequence objects and return an assembly filemy $asm_file = 'results.tigr';$factory->out_type($asm_file);$factory->run(\@seqs);# Use LIGR Assembler insteadmy $ligr = Bio::Tools::Run::TigrAssembler->new(-program_name => 'LIGR_Assembler',-trimmed_seq => 1);$ligr->run(\@seqs);
DESCRIPTION
Wrapper module for the local execution of the DNA assembly program TIGRAssembler v2.0. TIGR Assembler is open source software under The ArtisticLicense and available at: http://www.tigr.org/software/assembler/This module runs TIGR Assembler by feeding it a FASTA file or sequence objectsand returning an assembly file or assembly and IO objects. When the input isBioperl object, sequences less than 39 bp long are filtered out since they arenot supported by TIGR Assembler.If provided in the following way, TIGR Assembler will use additionalinformation present in the sequence descriptions for assembly:>seq_name minimum_clone_length maximum_clone_length median_clone_lengthclear_end5 clear_end3or>db|seq_name minimum_clone_length maximum_clone_length median_clone_lengthclear_end5 clear_end3e.g.>GHIBF57F 500 3000 1750 33 587This module also supports LIGR Assembler, a variant of TIGR Assembler:http://sourceforge.net/projects/ligr-assembler/
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 one of 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:
http://redmine.open-bio.org/projects/bioperl/
AUTHOR - Florent E Angly
Email: florent-dot-angly-at-gmail-dot-com
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
new
Title : newUsage : $factory->new( -minimum_percent => 95,-minimum_length => 50,-include_singlets => 1 );Function: Create a TIGR Assembler factoryReturns : A Bio::Tools::Run::TigrAssembler objectArgs :
TIGR Assembler options available in this module:
minimum_percent / minimum_overlap_similarity: the minimum percent identitythat two DNA fragments must achieve over their entire region of overlap inorder to be considered as a possible assembly. Adjustments are made by theprogram to take into account that the ends of sequences are lower qualityand doubled base calls are the most frequent sequencing error.minimum_length / minimum_overlap_length: the minimum length two DNA fragmentsmust overlap to be considered as a possible assembly (warning: this optionis not strictly respected by TIGR Assembler...)include_singlets: a flag which indicates that singletons (assemblies made upof a single DNA fragment) should be included in the lassie output_file - thedefault is to not include singletons.max_err_32: the maximum number + 1 of alignment errors (mismatches or gaps)allowed within any contiguous 32 base pairs in the overlap region betweentwo DNA fragments in the same assembly. This is meant to split apart splicevariants which have short splice differences and would not be disqualifiedby the -p minimum_percent parameter.consider_low_scores: a flag which causes even very LOW pairwise scores to beconsidered - caution using this flag may cause longer run time and a worseassembly.maximum_end: the maximum length at the end of a DNA fragment that does notmatch another overlapping DNA fragment (sometimes referred to as overhang)that will not disqualify a DNA fragment from becoming part of an assembly.ignore_tandem_32mers: a flag which causes tandem 32mers (a tandem 32mer is a32mer which occurs more than once in at least one sequence read) to beignored (this is now the default behavior and this flag is for backwardcompatibility)use_tandem_32mers: a flag which causes tandem 32mers to be used for pairwisecomparison opposite of the -t flag which is now the default).safe_merging_stop: a flag which causes merging to stop when only sequenceswhich appear to be repeats are left and these cannot be merged based onclone length constraints.not_random: a flag which indicates that the DNA fragments in the input_fileshould not be treated as random genomic fragments for the purpose ofdetermining repeat regions.resort_after: specifies how many sequences should be merged before resortingthe possible merges based on clone constraints.
LIGR Assembler has the same options as TIGR Assembler, and the following:
incl_bad_seq: keep all sequences including potential chimeras and splice variantstrimmed_seq: indicates that the sequences are trimmed. High quality scores will begiven on the whole sequence length instead of just in the middle)
out_type
Title : out_typeUsage : $factory->out_type('Bio::Assembly::ScaffoldI')Function: Get/set the desired type of outputReturns : The type of results to returnArgs : Desired type of results to return (optional):'Bio::Assembly::IO' object'Bio::Assembly::ScaffoldI' object (default)The name of a file to save the results in
run
Title : runUsage : $factory->run($fasta_file);Function: Run TIGR AssemblerReturns : - a Bio::Assembly::ScaffoldI object, a Bio::Assembly::IOobject, a filename, or undef if all sequences were too small tobe usableReturns : Assembly results (file, IO object or assembly object)Args : - sequence input (FASTA file or sequence object arrayref)- optional quality score input (QUAL file or quality score objectarrayref)
_run
Title : _runUsage : $assembler->_run()Function: Make a system call and run NewblerReturns : An assembly fileArgs : - FASTA file, SFF file and MID, or analysis dir and MID- optional QUAL file
_remove_small_sequences
Title : _remove_small_sequencesUsage : $assembler->_remove_small_sequences(\@seqs, \@quals)Function: Remove sequences below a threshold lengthReturns : a new sequence object array referencea new quality score object array referenceArgs : sequence object array referencequality score object array reference (optional)