Mercurial > repos > trinity_ctat > testing_how_to_do_this
comparison trinity.xml @ 6:4c1d32673942 draft
Uploaded
| author | trinity_ctat |
|---|---|
| date | Thu, 31 Aug 2017 15:36:54 -0400 |
| parents | 3f5c7b49977d |
| children | f7e70316b7ca |
comparison
equal
deleted
inserted
replaced
| 5:f976a93748a4 | 6:4c1d32673942 |
|---|---|
| 1 <tool id="trinityrnaseq" name="Trinity" version="2.4.0"> | 1 <tool id="trinityrnaseq" name="Trinity" version="2.4.0"> |
| 2 | 2 |
| 3 <!-- Originally written by Jeremy Goecks, | 3 <!-- Original written by Jeremy Goecks, |
| 4 later maintained by (in chronological order) | 4 later development/maintenance by (in chronological order) |
| 5 bhaas, Ben Fulton, Cicada Dennis | 5 bhaas, Ben Fulton, Cicada Dennis |
| 6 --> | 6 --> |
| 7 <description>De novo assembly of RNA-Seq data using Trinity 2.4.0</description> | 7 <description>De novo assembly of RNA-Seq data using Trinity 2.4.0</description> |
| 8 <requirements> | 8 <requirements> |
| 9 <requirement type="package" version="2.7">python</requirement> | |
| 10 <requirement type="package">subprocess32</requirement> | |
| 11 <requirement type="package">samtools</requirement> | |
| 12 <requirement type="package">bzip2</requirement> | |
| 9 <requirement type="package" version="2.4.0">trinity</requirement> | 13 <requirement type="package" version="2.4.0">trinity</requirement> |
| 10 </requirements> | 14 </requirements> |
| 11 <command> | 15 <command> |
| 12 <![CDATA[ | 16 <![CDATA[ |
| 13 python $__tool_directory__/trinity_wrapper.py --mem_per_cpu 31 | 17 python $__tool_directory__/trinity_wrapper.py |
| 14 --CPU \${GALAXY_SLOTS:-4} | 18 --CPU \${GALAXY_SLOTS:-4} |
| 19 --max_memory \${TRINITY_MAX_MEMORY:-31G} | |
| 15 #if str($inputs.paired_or_single) == "paired": | 20 #if str($inputs.paired_or_single) == "paired": |
| 16 --left $inputs.left_input --right $inputs.right_input | 21 --left $inputs.left_input --right $inputs.right_input |
| 17 #if $inputs.left_input.ext == 'fasta': | 22 #if $inputs.left_input.ext == 'fasta': |
| 18 --seqType fa | 23 --seqType fa |
| 19 #else: | 24 #else: |
| 27 --seqType fq | 32 --seqType fq |
| 28 #end if | 33 #end if |
| 29 #end if | 34 #end if |
| 30 ## direct to output | 35 ## direct to output |
| 31 --timing trinity_out_dir/Trinity.timing | 36 --timing trinity_out_dir/Trinity.timing |
| 32 --user $__user_id__ | |
| 33 --fullpath /N/dc2/scratch/tstrnity/rerun | |
| 34 --dir '$adv.rerundir' | |
| 35 --log $trinity_log | 37 --log $trinity_log |
| 36 | 38 |
| 37 ]]> | 39 ]]> |
| 40 <!-- The fullpath, dir, and user options (preceed with dashes) can be | |
| 41 used in the trinity_wrapper.py command to create rerunable jobs. | |
| 42 We are not supporting rerunable jobs in this release of this tool. | |
| 43 fullpath \${TRINITY_RERUN_PREFIX} | |
| 44 dir '$adv.rerundir' | |
| 45 user $__user_id__ | |
| 46 mem_per_cpu 31 | |
| 47 --> | |
| 38 </command> | 48 </command> |
| 39 <stdio> | 49 <stdio> |
| 40 <exit_code range="1:" level="fatal" description="Program failed" /> | 50 <exit_code range="1:" level="fatal" description="Program failed" /> |
| 41 <exit_code range=":-1" level="fatal" description="DRM killed job" /> | 51 <exit_code range=":-1" level="fatal" description="DRM killed job" /> |
| 42 </stdio> | 52 </stdio> |
| 52 </when> | 62 </when> |
| 53 <when value="single"> | 63 <when value="single"> |
| 54 <param format="fasta,fastq" name="input" type="data" label="Single-end reads" help=""/> | 64 <param format="fasta,fastq" name="input" type="data" label="Single-end reads" help=""/> |
| 55 </when> | 65 </when> |
| 56 </conditional> | 66 </conditional> |
| 67 <!-- The following section was used to aid in creating rerunable jobs. | |
| 68 We are not supporting rerunable jobs in this release of this tool. | |
| 57 <section name="adv" title="Allow Job Rerun" expanded="False"> | 69 <section name="adv" title="Allow Job Rerun" expanded="False"> |
| 58 <param name="rerundir" type="text" size="10" label="To make a job rerunnable, you will need to specify a unique tag to label the job, with no spaces or wierd characters." /> | 70 <param name="rerundir" type="text" size="10" label="To make a job rerunnable, you will need to specify a unique tag to label the job, with no spaces or wierd characters." /> |
| 59 </section> | 71 </section> |
| 72 --> | |
| 60 </inputs> | 73 </inputs> |
| 61 <outputs> | 74 <outputs> |
| 62 <data format="txt" name="trinity_log" label="${tool.name} on ${on_string}: log" /> | 75 <data format="txt" name="trinity_log" label="${tool.name} on ${on_string}: log" /> |
| 63 <data format="fasta" name="assembled_transcripts" label="${tool.name} on ${on_string}: Assembled Transcripts" from_work_dir="trinity_out_dir/Trinity.fasta"/> | 76 <data format="fasta" name="assembled_transcripts" label="${tool.name} on ${on_string}: Assembled Transcripts" from_work_dir="trinity_out_dir/Trinity.fasta"/> |
| 64 </outputs> | 77 </outputs> |
| 88 <test> | 101 <test> |
| 89 <param name="paired_or_single" value="paired" /> | 102 <param name="paired_or_single" value="paired" /> |
| 90 <param name="left_input" value="Sp.cat_ds_hs.left.fq" /> | 103 <param name="left_input" value="Sp.cat_ds_hs.left.fq" /> |
| 91 <param name="right_input" value="Sp.cat_ds_hs.right.fq" /> | 104 <param name="right_input" value="Sp.cat_ds_hs.right.fq" /> |
| 92 <param name="adv.rerundir" value="planemo_test_2" /> | 105 <param name="adv.rerundir" value="planemo_test_2" /> |
| 93 <!-- Following are not being used in this version of trinity.xml --> | 106 <!-- Following parameters are not used in this version of this tool. --> |
| 94 <!-- | 107 <!-- |
| 95 <param name="paired_or_single" value="paired" /> | |
| 96 <param name="left_input" file="cat_Sp.left.fq" /> | |
| 97 <param name="right_input" file="cat_Sp.right.fq" /> | |
| 98 <param name="JM" value="50G" /> | 108 <param name="JM" value="50G" /> |
| 99 <param name="CPU" value="2" /> | 109 <param name="CPU" value="2" /> |
| 100 <param name="library_type" value="None" /> | 110 <param name="library_type" value="None" /> |
| 101 <param name="group_pairs_distance" value="500" /> | 111 <param name="group_pairs_distance" value="500" /> |
| 102 <param name="path_reinforcement_distance" va;ue="75" /> | 112 <param name="path_reinforcement_distance" value="75" /> |
| 103 <param name="use_additional" value="no" /> | 113 <param name="use_additional" value="no" /> |
| 104 --> | 114 --> |
| 105 <output name="trinity_log" > | 115 <output name="trinity_log" > |
| 106 <assert_contents> | 116 <assert_contents> |
| 107 <has_line_matching expression=".+" /> | 117 <has_line_matching expression=".+" /> |
| 117 </test> | 127 </test> |
| 118 </tests> | 128 </tests> |
| 119 <help> | 129 <help> |
| 120 This instance is running Trinity version 2.4.0 and uses the following command: | 130 This instance is running Trinity version 2.4.0 and uses the following command: |
| 121 | 131 |
| 122 Trinity --max_memory 240G --CPU 8 --seqType seq_type --single singlefile or --left left_file --right right_file | 132 Trinity --max_memory \${TRINITY_MAX_MEMORY:-31G} --CPU \${GALAXY_SLOTS:-4} --seqType seq_type --single singlefile or --left left_file --right right_file |
| 133 Define TRINITY_MAX_MEMORY and GALAXY_SLOTS to change the default values for --max_memory and --CPU. | |
| 123 | 134 |
| 124 .. class:: infomark | 135 .. class:: infomark |
| 125 | 136 |
| 126 Trinity_, developed at the Broad Institute and the Hebrew University of Jerusalem, represents a novel method for the efficient and robust de novo reconstruction of transcriptomes from RNA-seq data. Trinity combines three independent software modules: Inchworm, Chrysalis, and Butterfly, applied sequentially to process large volumes of RNA-seq reads. Trinity partitions the sequence data into many individual de Bruijn graphs, each representing the transcriptional complexity at a given gene or locus, and then processes each graph independently to extract full-length splicing isoforms and to tease apart transcripts derived from paralogous genes. For more information, visit Trinity's wiki page here_. | 137 Trinity_, developed at the Broad Institute and the Hebrew University of Jerusalem, represents a novel method for the efficient and robust de novo reconstruction of transcriptomes from RNA-seq data. Trinity combines three independent software modules: Inchworm, Chrysalis, and Butterfly, applied sequentially to process large volumes of RNA-seq reads. Trinity partitions the sequence data into many individual de Bruijn graphs, each representing the transcriptional complexity at a given gene or locus, and then processes each graph independently to extract full-length splicing isoforms and to tease apart transcripts derived from paralogous genes. For more information, visit Trinity's wiki page here_. |
| 127 | 138 |
