Mercurial > repos > iuc > mothur_remove_dists
comparison remove.dists.xml @ 5:9067f78ae9bd draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
| author | iuc |
|---|---|
| date | Wed, 14 Feb 2018 09:30:19 -0500 |
| parents | 27ab74145f55 |
| children | 6a4feed29ebc |
comparison
equal
deleted
inserted
replaced
| 4:4431b1ce2327 | 5:9067f78ae9bd |
|---|---|
| 5 </macros> | 5 </macros> |
| 6 <expand macro="requirements"/> | 6 <expand macro="requirements"/> |
| 7 <expand macro="stdio"/> | 7 <expand macro="stdio"/> |
| 8 <expand macro="version_command"/> | 8 <expand macro="version_command"/> |
| 9 <command><![CDATA[ | 9 <command><![CDATA[ |
| 10 @SHELL_OPTIONS@ | 10 @SHELL_OPTIONS@ |
| 11 | 11 |
| 12 ## create symlinks to input datasets | 12 ## create symlinks to input datasets |
| 13 ln -s "$accnos" accnos.dat && | 13 ln -s '$accnos' accnos.dat && |
| 14 ln -s "$input.dist" input_dist.dat && | 14 ln -s '$input.dist' input_dist.dat && |
| 15 | 15 |
| 16 echo 'remove.dists( | 16 echo 'remove.dists( |
| 17 accnos=accnos.dat, | 17 accnos=accnos.dat, |
| 18 #if $input.source == "phylip": | 18 #if $input.source == "phylip": |
| 19 phylip=input_dist.dat | 19 phylip=input_dist.dat |
| 20 #else | 20 #else |
| 21 column=input_dist.dat | 21 column=input_dist.dat |
| 22 #end if | 22 #end if |
| 23 )' | 23 )' |
| 24 | sed 's/ //g' ## mothur trips over whitespace | 24 | sed 's/ //g' ## mothur trips over whitespace |
| 25 | mothur | 25 | mothur |
| 26 | tee mothur.out.log | 26 | tee mothur.out.log |
| 27 ]]></command> | 27 ]]></command> |
| 28 <inputs> | 28 <inputs> |
| 29 <conditional name="input"> | 29 <conditional name="input"> |
| 30 <param name="source" type="select" label="Select input format"> | 30 <param name="source" type="select" label="Select input format"> |
| 31 <option value="column">Pairwise Column Distance Matrix</option> | 31 <option value="column">Pairwise Column Distance Matrix</option> |
| 32 <option value="phylip">Phylip Distance Matrix</option> | 32 <option value="phylip">Phylip Distance Matrix</option> |
| 33 </param> | 33 </param> |
| 34 <when value="column"> | 34 <when value="column"> |
| 35 <param name="dist" type="data" format="mothur.pair.dist" label="column - Distance Matrix"/> | 35 <param name="dist" argument="column" type="data" format="mothur.pair.dist" label="column - Distance Matrix"/> |
| 36 </when> | 36 </when> |
| 37 <when value="phylip"> | 37 <when value="phylip"> |
| 38 <param name="dist" type="data" format="mothur.dist,mothur.lower.dist,mothur.square.dist" label="phylip - Distance Matrix"/> | 38 <param name="dist" argument="phylip" type="data" format="mothur.dist,mothur.lower.dist,mothur.square.dist" label="phylip - Distance Matrix"/> |
| 39 </when> | 39 </when> |
| 40 </conditional> | 40 </conditional> |
| 41 <param name="accnos" type="data" format="mothur.accnos" label="accnos - sort" help="format must be mothur.accnos"/> | 41 <param argument="accnos" type="data" format="mothur.accnos" label="accnos - sort" help="format must be mothur.accnos"/> |
| 42 </inputs> | 42 </inputs> |
| 43 <outputs> | 43 <outputs> |
| 44 <expand macro="logfile-output"/> | 44 <expand macro="logfile-output"/> |
| 45 <data name="pick_dist" format_source="dist" from_work_dir="input_dist*.pick.dat" label="${tool.name} on ${on_string}: pick.dist"/> | 45 <data name="pick_dist" format_source="dist" from_work_dir="input_dist*.pick.dat" label="${tool.name} on ${on_string}: pick.dist"/> |
| 46 </outputs> | 46 </outputs> |
| 47 <tests> | 47 <tests> |
| 48 <test> | 48 <test> |
| 49 <param name="source" value="phylip"/> | 49 <param name="source" value="phylip"/> |
| 50 <param name="dist" value="98_sq_phylip_amazon.dist" ftype="mothur.square.dist"/> | 50 <param name="dist" value="98_sq_phylip_amazon.dist" ftype="mothur.square.dist"/> |
| 51 <param name="accnos" value="amazon.bad.accnos" ftype="mothur.accnos"/> | 51 <param name="accnos" value="amazon.bad.accnos" ftype="mothur.accnos"/> |
| 52 <output name="pick_dist" md5="ec444ddb897d21864a245e8645fcda33" ftype="mothur.square.dist"/> | 52 <output name="pick_dist" ftype="mothur.square.dist"> |
| 53 <assert_contents> | |
| 54 <expand macro="test-dist-format"/> | |
| 55 <has_text text="U68589"/> | |
| 56 <has_line_matching expression="^90$"/> | |
| 57 </assert_contents> | |
| 58 </output> | |
| 53 <expand macro="logfile-test"/> | 59 <expand macro="logfile-test"/> |
| 54 </test> | 60 </test> |
| 55 </tests> | 61 </tests> |
| 56 <help> | 62 <help><![CDATA[ |
| 57 <![CDATA[ | |
| 58 | 63 |
| 59 @MOTHUR_OVERVIEW@ | 64 @MOTHUR_OVERVIEW@ |
| 60 | 65 |
| 61 **Command Documentation** | 66 **Command Documentation** |
| 62 | 67 |
| 63 The remove.dists_ removes distances from a phylip or column file related to groups or sequences listed in an accnos file. | 68 The remove.dists_ removes distances from a phylip or column file related to groups or sequences listed in an accnos file. |
| 64 | 69 |
| 65 .. _remove.dists: https://www.mothur.org/wiki/Remove.dists | 70 .. _remove.dists: https://www.mothur.org/wiki/Remove.dists |
| 66 | 71 |
| 67 ]]> | 72 ]]></help> |
| 68 </help> | |
| 69 <expand macro="citations"/> | 73 <expand macro="citations"/> |
| 70 </tool> | 74 </tool> |
