Mercurial > repos > bcrain-completegenomics > testing_cgatools
comparison cgatools/tools/cg_cgatools/junctiondiff.xml @ 8:e183f52194a5 draft
Uploaded
| author | bcrain-completegenomics |
|---|---|
| date | Wed, 13 Jun 2012 17:40:07 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 7:af4c3bfbfc68 | 8:e183f52194a5 |
|---|---|
| 1 <tool id="cga_junctiondiff" name="junctiondiff(beta)" version="0.0.1"> | |
| 2 | |
| 3 <description>reports difference between junction calls</description> <!--adds description in toolbar--> | |
| 4 | |
| 5 <requirements> | |
| 6 <requirement type="binary">cgatools</requirement> | |
| 7 </requirements> | |
| 8 | |
| 9 <command> <!--run executable--> | |
| 10 cgatools junctiondiff --beta | |
| 11 --reference $crr.fields.path | |
| 12 --junctionsA $data_sources.inputA | |
| 13 --junctionsB $data_sources.inputB | |
| 14 --scoreThresholdA $scoreA | |
| 15 --scoreThresholdB $scoreB | |
| 16 --distance $distance | |
| 17 --minlength $minlength | |
| 18 $stat | |
| 19 --output-prefix cg_ | |
| 20 ; | |
| 21 mv cg_diff-*tsv cg_diff.tsv | |
| 22 </command> | |
| 23 | |
| 24 <outputs> | |
| 25 <data format="tabular" name="output1" from_work_dir="cg_diff.tsv" label="${tool.name} on ${on_string}: diff"/> | |
| 26 <data format="tabular" name="output2" from_work_dir="cg_report.tsv" label="${tool.name} on ${on_string}: report"> | |
| 27 <filter>(stat == '--statout')</filter> | |
| 28 </data> | |
| 29 </outputs> | |
| 30 | |
| 31 <inputs> | |
| 32 <!--form field to select crr file--> | |
| 33 <param name="crr" type="select" label="Genome build"> | |
| 34 <options from_data_table="cg_crr_files" /> | |
| 35 </param> | |
| 36 | |
| 37 <!--conditional to select variant file input--> | |
| 38 <conditional name="data_sources"> | |
| 39 <param name="data_source" type="select" label="Where are the input junction files?"> | |
| 40 <option value="in" selected="true">imported into Galaxy</option> | |
| 41 <option value="out">located outside Galaxy (available only for local Galaxy instances)</option> | |
| 42 </param> | |
| 43 <when value="in"> | |
| 44 <!--form field to select variant files--> | |
| 45 <param name="inputA" type="data" format="tabluar" label="Junction file A"> | |
| 46 <validator type="unspecified_build" /> | |
| 47 <validator type="dataset_metadata_in_file" filename="cg_crr_files.loc" | |
| 48 metadata_name="dbkey" metadata_column="1" | |
| 49 message="cgatools is not currently available for this build."/> | |
| 50 </param> | |
| 51 <param name="inputB" type="data" format="tabluar" label="Junction file B"> | |
| 52 <validator type="unspecified_build" /> | |
| 53 <validator type="dataset_metadata_in_file" filename="cg_crr_files.loc" | |
| 54 metadata_name="dbkey" metadata_column="1" | |
| 55 message="cgatools is not currently available for this build."/> | |
| 56 </param> | |
| 57 </when> | |
| 58 <when value="out"> | |
| 59 <!--form field to enter external input files--> | |
| 60 <param name="inputA" type="text" label="Junction file A (path/file_name)" size="40" help="Junction file can be compressed (gz, bz2)."/> | |
| 61 <param name="inputB" type="text" label="Junction file B (path/file_name)" size="40" help="Junction file can be compressed (gz, bz2)."/> | |
| 62 </when> | |
| 63 </conditional> | |
| 64 | |
| 65 <!--form field to select stats output--> | |
| 66 <param name="stat" type="select" label="Print input file stats"> | |
| 67 <option value="">no</option> | |
| 68 <option value="--statout">yes</option> | |
| 69 </param> | |
| 70 | |
| 71 <param name="scoreA" type="integer" label="Score threshold value for input file A (default 10)" value="10"/> | |
| 72 <param name="scoreB" type="integer" label="Score threshold value for input file B (default 0)" value="0"/> | |
| 73 <param name="distance" type="integer" label="Max distance between coordinates of potentially compatible junctions (default 200)" value="200"/> | |
| 74 <param name="minlength" type="integer" label="Minimum deletion junction length to be included into the difference file (default 500)" value="500"/> | |
| 75 </inputs> | |
| 76 | |
| 77 | |
| 78 <help> | |
| 79 | |
| 80 **What it does** | |
| 81 | |
| 82 This tool reports difference between junction calls of Complete Genomics junctions files | |
| 83 | |
| 84 cgatools: http://sourceforge.net/projects/cgatools/files/ | |
| 85 | |
| 86 ----- | |
| 87 | |
| 88 **cgatools Manual**:: | |
| 89 | |
| 90 COMMAND NAME | |
| 91 junctiondiff - Reports difference between junction calls of Complete Genomics junctions files. | |
| 92 | |
| 93 DESCRIPTION | |
| 94 junctiondiff takes two junction files A and B as input and produces the | |
| 95 following output: | |
| 96 - "diff-inputFileName" - the junctions from an input file A that are not | |
| 97 present in input file B. | |
| 98 - "report.txt" - a brief summary report (if --statout is used) | |
| 99 | |
| 100 Two junctions are considered equivalent if: | |
| 101 - they come from different files | |
| 102 - left and right positions of one junction are not more than "--distance" | |
| 103 bases apart from the corresponding positions of another junction | |
| 104 - the junction scores are equal or above the scoreThreshold | |
| 105 - they are on the same strands | |
| 106 | |
| 107 OPTIONS | |
| 108 -h [ --help ] | |
| 109 Print this help message. | |
| 110 | |
| 111 --beta | |
| 112 This is a beta command. To run this command, you must pass the --beta | |
| 113 flag. | |
| 114 | |
| 115 -s [ --reference ] arg | |
| 116 Reference file. | |
| 117 | |
| 118 -a [ --junctionsA ] arg | |
| 119 input junction file A. | |
| 120 | |
| 121 -b [ --junctionsB ] arg | |
| 122 input junction file B. | |
| 123 | |
| 124 -A [ --scoreThresholdA ] arg (=10) | |
| 125 score threshold value for the input file A. | |
| 126 | |
| 127 -B [ --scoreThresholdB ] arg (=0) | |
| 128 score threshold value for the input file B. | |
| 129 | |
| 130 -d [ --distance ] arg (=200) | |
| 131 Max distance between coordinates of potentially compatible junctions. | |
| 132 | |
| 133 -l [ --minlength ] arg (=500) | |
| 134 Minimum deletion junction length to be included into the difference | |
| 135 file. | |
| 136 | |
| 137 -o [ --output-prefix ] arg | |
| 138 The path prefix for all the output reports. | |
| 139 | |
| 140 -S [ --statout ] | |
| 141 (Debug) Report various input file statistics. Experimental feature. | |
| 142 | |
| 143 SUPPORTED FORMAT_VERSION | |
| 144 1.5 or later | |
| 145 </help> | |
| 146 </tool> |
