Mercurial > repos > iuc > mothur_chop_seqs
comparison chop.seqs.xml @ 4:2029b3939394 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:16:51 -0500 |
| parents | 35eefac6662c |
| children | 92bebd51ca52 |
comparison
equal
deleted
inserted
replaced
| 3:35eefac6662c | 4:2029b3939394 |
|---|---|
| 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 "$fasta" fasta.dat && | 13 ln -s '$fasta' fasta.dat && |
| 14 ln -s "$name" name.dat && | 14 ln -s '$name' name.dat && |
| 15 ln -s "$group" group.dat && | 15 ln -s '$group' group.dat && |
| 16 ln -s "$count" count.dat && | 16 ln -s '$count' count.dat && |
| 17 | 17 |
| 18 echo 'chop.seqs( | 18 echo 'chop.seqs( |
| 19 fasta=fasta.dat, | 19 fasta=fasta.dat, |
| 20 numbases=$numbases, | 20 numbases=$numbases, |
| 21 keep=$keep, | 21 keep=$keep, |
| 22 countgaps=$countgaps, | 22 countgaps=$countgaps, |
| 23 short=$short, | 23 short=$short, |
| 24 #if $name: | 24 #if $name: |
| 25 name=name.dat, | 25 name=name.dat, |
| 26 #end if | 26 #end if |
| 27 #if $group: | 27 #if $group: |
| 28 group=group.dat, | 28 group=group.dat, |
| 29 #end if | 29 #end if |
| 30 #if $count: | 30 #if $count: |
| 31 count=count.dat, | 31 count=count.dat, |
| 32 #end if | 32 #end if |
| 33 processors='\${GALAXY_SLOTS:-8}' | 33 processors='\${GALAXY_SLOTS:-8}' |
| 34 )' | 34 )' |
| 35 | sed 's/ //g' ## mothur trips over whitespace | 35 | sed 's/ //g' ## mothur trips over whitespace |
| 36 | mothur | 36 | mothur |
| 37 | tee mothur.out.log | 37 | tee mothur.out.log |
| 38 ]]></command> | 38 ]]></command> |
| 39 <inputs> | 39 <inputs> |
| 40 <param name="fasta" type="data" format="fasta,mothur.align" label="fasta - Sequences to be chopped"/> | 40 <param argument="fasta" type="data" format="fasta,mothur.align" label="fasta - Sequences to be chopped"/> |
| 41 <param name="numbases" type="integer" value="10" label="numbases - Number of bases to keep"/> | 41 <param argument="numbases" type="integer" value="10" label="numbases - Number of bases to keep"/> |
| 42 <param name="keep" type="select" label="keep - Part of the sequence to keep"> | 42 <param argument="keep" type="select" label="keep - Part of the sequence to keep"> |
| 43 <option value="front">front</option> | 43 <option value="front">front</option> |
| 44 <option value="back">back</option> | 44 <option value="back">back</option> |
| 45 </param> | 45 </param> |
| 46 <param name="countgaps" type="boolean" truevalue="true" falsevalue="false" checked="false" label="countgaps - Count gaps as bases"/> | 46 <param argument="countgaps" type="boolean" truevalue="true" falsevalue="false" checked="false" label="countgaps - Count gaps as bases"/> |
| 47 <param name="short" type="boolean" truevalue="true" falsevalue="false" checked="false" label="short - keep sequences that are too short to chop"/> | 47 <param argument="short" type="boolean" truevalue="true" falsevalue="false" checked="false" label="short - keep sequences that are too short to chop"/> |
| 48 <param name="name" type="data" format="mothur.names" optional="true" label="name file"/> | 48 <param argument="name" type="data" format="mothur.names" optional="true" label="name file"/> |
| 49 <param name="group" type="data" format="mothur.groups" optional="true" label="group file"/> | 49 <param argument="group" type="data" format="mothur.groups" optional="true" label="group file"/> |
| 50 <param name="count" type="data" format="mothur.count_table" optional="true" label="count file"/> | 50 <param argument="count" type="data" format="mothur.count_table" optional="true" label="count file"/> |
| 51 </inputs> | 51 </inputs> |
| 52 <outputs> | 52 <outputs> |
| 53 <expand macro="logfile-output"/> | 53 <expand macro="logfile-output"/> |
| 54 <data name="out_fasta" format_source="fasta" from_work_dir="fasta*.chop.fasta" label="${tool.name} on ${on_string}: chop.fasta"/> | 54 <data name="out_fasta" format_source="fasta" from_work_dir="fasta*.chop.fasta" label="${tool.name} on ${on_string}: chop.fasta"/> |
| 55 </outputs> | 55 </outputs> |
| 59 <param name="name" value="Mock_S280_L001_R1_001_small.trim.contigs.good.names"/> | 59 <param name="name" value="Mock_S280_L001_R1_001_small.trim.contigs.good.names"/> |
| 60 <output name="out_fasta" file="Mock_S280_L001_R1_001_small.trim.contigs.good.chop.fasta" compare="contains"/> | 60 <output name="out_fasta" file="Mock_S280_L001_R1_001_small.trim.contigs.good.chop.fasta" compare="contains"/> |
| 61 <expand macro="logfile-test"/> | 61 <expand macro="logfile-test"/> |
| 62 </test> | 62 </test> |
| 63 </tests> | 63 </tests> |
| 64 <help> | 64 <help><![CDATA[ |
| 65 <![CDATA[ | |
| 66 | 65 |
| 67 @MOTHUR_OVERVIEW@ | 66 @MOTHUR_OVERVIEW@ |
| 68 | 67 |
| 69 **Command Documentation** | 68 **Command Documentation** |
| 70 | 69 |
| 71 The chop.seqs_ command reads a fasta file of sequences and outputs a .chop.fasta file containing the trimmed sequences. It works on both aligned and unaligned sequences. | 70 The chop.seqs_ command reads a fasta file of sequences and outputs a .chop.fasta file containing the trimmed sequences. It works on both aligned and unaligned sequences. |
| 72 | 71 |
| 73 .. _chop.seqs: https://www.mothur.org/wiki/Chop.seqs | 72 .. _chop.seqs: https://www.mothur.org/wiki/Chop.seqs |
| 74 | 73 |
| 75 v1.20.0: Updated to 1.33. Added name, group and count options for mothur version 1.31.0 | 74 v1.20.0: Updated to 1.33. Added name, group and count options for mothur version 1.31.0 |
| 76 ]]> | 75 |
| 77 </help> | 76 ]]></help> |
| 78 <expand macro="citations"/> | 77 <expand macro="citations"/> |
| 79 </tool> | 78 </tool> |
