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