# HG changeset patch # User Jim Johnson # Date 1378386501 18000 # Node ID 5eb99d21ef0dd6e4de8761a167b5bcd6722102a4 # Parent a34ce2b18877cdd9b81bd1dde479dbf05c69fcec Add trinityrnaseq_norm and transcriptsToOrfs tools diff -r a34ce2b18877 -r 5eb99d21ef0d tool-data/pfam_db.loc.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool-data/pfam_db.loc.sample Thu Sep 05 08:08:21 2013 -0500 @@ -0,0 +1,3 @@ +#release_name release name path +#Pfam27.0_Pfam-A Pfam27.0 Pfam-A /data/pfam/Pfam-A.hmm +#Pfam27.0_Pfam-B Pfam27.0 Pfam-B /data/pfam/Pfam-B.hmm diff -r a34ce2b18877 -r 5eb99d21ef0d tool_data_table_conf.xml.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_data_table_conf.xml.sample Thu Sep 05 08:08:21 2013 -0500 @@ -0,0 +1,7 @@ + + + + value, release, name, path + +
+
diff -r a34ce2b18877 -r 5eb99d21ef0d tool_dependencies.xml --- a/tool_dependencies.xml Fri Aug 30 10:56:26 2013 -0500 +++ b/tool_dependencies.xml Thu Sep 05 08:08:21 2013 -0500 @@ -9,5 +9,8 @@ + + + diff -r a34ce2b18877 -r 5eb99d21ef0d transcriptsToOrfs.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/transcriptsToOrfs.xml Thu Sep 05 08:08:21 2013 -0500 @@ -0,0 +1,117 @@ + + Trinity Transcripts to Candidate Peptides + + trinityrnaseq + hmmer + + + \$TRINITY_HOME/trinity-plugins/transdecoder/transcripts_to_best_scoring_ORFs.pl + -t $transcripts + #if $min_prot_length: + -m $min_prot_length + #end if + #if $retain_long_orfs: + --retain_long_orfs $retain_long_orfs + #end if + #if $training_count: + -T $training_count + #end if + #if str($strand_specificity) == 'SS': + -S + #end if + #if $genetic_code.__str__ != '': + -G $genetic_code + #end if + #if $search.use_pfam == 'yes': + --search_pfam "${ filter( lambda x: str( x[0] ) == str( $search.pfam_db ), $__app__.tool_data_tables[ 'pfam_databases' ].get_fields() )[0][-1] }" + --CPU $search.CPU + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + search['use_pfam'] == 'yes' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ** transcriptsToOrfs ** + Trinity_ is a de novo transcript assembler that uses RNA-seq data as input. + This tool searches for open reading frames in the assembled transcripts. + + .. _Trinity: http://trinityrnaseq.sourceforge.net + + diff -r a34ce2b18877 -r 5eb99d21ef0d trinityrnaseq.xml --- a/trinityrnaseq.xml Fri Aug 30 10:56:26 2013 -0500 +++ b/trinityrnaseq.xml Thu Sep 05 08:08:21 2013 -0500 @@ -110,7 +110,7 @@ - + + + Pre-process RNA-seq data to reduce coverage of highly covered areas + + trinityrnaseq + + + ## symlink input in work_dir + #if str($inputs.paired_or_single) == "paired": + ln -s $inputs.left_input left_reads && + ln -s $inputs.right_input right_reads && + #else: + ln -s $inputs.input single_reads && + #end if + \${TRINITY_HOME}/util/normalize_by_kmer_coverage.pl --JM $JM --max_cov $max_cov + ## Inputs. + #if str($inputs.paired_or_single) == "paired": + --left left_reads --right right_reads + #if $inputs.left_input.ext == 'fa': + --seqType fa + #else: + --seqType fq + #end if + $inputs.pe_reads_unordered + #if str($inputs.library_type) != "None": + --SS_lib_type $inputs.library_type + #end if + $inputs.pairs_together + $inputs.parallel_stats + #else: + --single single_reads + #if str($inputs.input.ext) == 'fa': + --seqType fa + #else: + --seqType fq + #end if + #if str($inputs.library_type) != "None": + --SS_lib_type $inputs.library_type + #end if + #end if + #if $kmer_size: + --KMER_SIZE $kmer_size + #end if + #if $max_pct_stdev: + --max_pct_stdev $max_pct_stdev + #end if + ## direct stdio to output + | tee $trinity_coverage_normalization_log && + #if str($inputs.paired_or_single) == "paired": + cp left_reads.normalized* $output_left && + cp right_reads.normalized* $output_right + #else: + cp single_reads.normalized* $output_single + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + inputs['paired_or_single'] == "paired" + + + inputs['paired_or_single'] == "paired" + + + inputs['paired_or_single'] == "single" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Runs script Trinity_ script util/normalize_by_kmer_coverage.pl which reduces data sizes with minimal impact on recovered transcripts when used by Trinity.pl. + + .. _Trinity: http://trinityrnaseq.sourceforge.net + +