Mercurial > repos > thanhlv > bbmap
comparison sendsketch.xml @ 0:23ecfa3e5eff draft
"planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/bbmap commit fec9224232f4fe1200df4f66e1fa064533b3f21e"
| author | thanhlv |
|---|---|
| date | Mon, 25 Nov 2019 11:28:06 +0000 |
| parents | |
| children | f285fe3f81ff |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:23ecfa3e5eff |
|---|---|
| 1 <tool id="bbmap_sendsketch" name="sendsketch" version="@VERSION@"> | |
| 2 <description> Identifying species using sketch</description> | |
| 3 <macros> | |
| 4 <import>macros.xml</import> | |
| 5 </macros> | |
| 6 <expand macro="requirements" /> | |
| 7 <expand macro="version_command" /> | |
| 8 | |
| 9 <command detect_errors="exit_code"><![CDATA[ | |
| 10 ln -sf '$input' '$input.element_identifier' && | |
| 11 sendsketch.sh | |
| 12 #if $printall | |
| 13 printall=t | |
| 14 #end if | |
| 15 #if $translate | |
| 16 translate=t | |
| 17 #end if | |
| 18 in='$input.element_identifier' | |
| 19 out=output.txt | |
| 20 outsketch=sketch | |
| 21 minhits=$minhits | |
| 22 minani=$minani | |
| 23 format=$format | |
| 24 score=t | |
| 25 $db | |
| 26 ]]> </command> | |
| 27 | |
| 28 <inputs> | |
| 29 <param name="input" type="data" format="fasta,fasta.gz" label="Input sequence"/> | |
| 30 <param name="db" type="select" label="Sketch Database"> | |
| 31 <option value="refseq" selected="true">Refseq</option> | |
| 32 <option value="nt">nt</option> | |
| 33 <option value="silva">silva</option> | |
| 34 <option value="protein">RefSeq prokaryotic amino acid sketches</option> | |
| 35 </param> | |
| 36 <param name="format" type="select" label="Output Format"> | |
| 37 <option value="2" selected="true">Default format with, per query, one query header line; | |
| 38 one column header line; and one reference line per hit</option> | |
| 39 <option value="3">One line per hit, with columns query, reference, ANI, | |
| 40 and sizeRatio</option> | |
| 41 <option value="4">JSON</option> | |
| 42 </param> | |
| 43 <param name="minhits" type="integer" min="1" value="3" label="Only report records with at least this many hits"/> | |
| 44 <param name="minani" type="float" min="0" value="0.0" max="1" label="Only report records with at least this ANI"/> | |
| 45 <param name="minwkid" type="float" min="0" value="0.0001" max="1" label="Only report records with at least this WKID"/> | |
| 46 <param name="minbases" type="integer" min="0" value="0" label="Ignore ref sketches of sequences shortert than this"/> | |
| 47 <param name="minsizeratio" type="float" min="0" value="0.0" max="1" label="Don't compare sketches if the smaller genome is less than | |
| 48 this fraction of the size of the larger"/> | |
| 49 <param name="records" type="integer" min="1" value="20" label="Report at most this many best-matching records"/> | |
| 50 <param name="write_sketch" type="boolean" truevalue="yes" falsevalue="no" checked="false" label="Write sketch?"/> | |
| 51 <param name="translate" type="boolean" truevalue="yes" falsevalue="no" checked="false" label="Call genes and translate to proteins. Input should be | |
| 52 nucleotides"/> | |
| 53 <param name="printall" type="boolean" truevalue="yes" falsevalue="no" checked="false" label="Print all column?"/> | |
| 54 </inputs> | |
| 55 | |
| 56 <outputs> | |
| 57 <data name="Output" format="txt" from_work_dir="output.txt"/> | |
| 58 <data name="Sketch" format="binary" from_work_dir="sketch"> | |
| 59 <filter>write_sketch is True</filter> | |
| 60 </data> | |
| 61 </outputs> | |
| 62 <help><![CDATA[ | |
| 63 Compares query sketches to reference sketches hosted on a | |
| 64 remote server via the Internet. The input can be sketches made by sketch.sh, | |
| 65 or fasta/fastq files from which SendSketch will generate sketches. | |
| 66 Only sketches will sent, not sequences. | |
| 67 ]]> </help> | |
| 68 <expand macro="citations" /> | |
| 69 | |
| 70 </tool> |
