Mercurial > repos > iuc > sina
comparison sina.xml @ 2:49b937f12aa4 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sina commit e94aa6daf5746ddd3798b8b3d8bc92094b03be90"
author | iuc |
---|---|
date | Wed, 25 Dec 2019 12:09:28 -0500 |
parents | a21965c8bcf1 |
children | 8afa8799d50f |
comparison
equal
deleted
inserted
replaced
1:fd62f1b940f6 | 2:49b937f12aa4 |
---|---|
1 <tool id="sina" name="SINA" version="@TOOL_VERSION@+@WRAPPER_VERSION@"> | 1 <tool id="sina" name="SINA" version="@TOOL_VERSION@+@WRAPPER_VERSION@" profile="18.01"> |
2 <description>reference based multiple sequence alignment</description> | 2 <description>reference based multiple sequence alignment</description> |
3 <macros> | 3 <macros> |
4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
5 </macros> | 5 </macros> |
6 <expand macro="requirements"/> | 6 <expand macro="requirements"/> |
9 ## initialize | 9 ## initialize |
10 ## parse custom reference from fasta to arb file format | 10 ## parse custom reference from fasta to arb file format |
11 | 11 |
12 #if $db.select == 'custom' | 12 #if $db.select == 'custom' |
13 #if $db.custom.ext == 'fasta' | 13 #if $db.custom.ext == 'fasta' |
14 sina -i '$db.custom' --prealigned -o ./reference.arb && | 14 sina -i '$db.custom' --prealigned -o reference.arb && |
15 #else | 15 #else |
16 ln -s '$db.custom' ./reference.arb && | 16 ln -s '$db.custom' reference.arb && |
17 #end if | 17 #end if |
18 #elif $db.select == 'local' | 18 #elif $db.select == 'local' |
19 ln -s '$db.arb_databases.fields.path' ./reference.arb && | 19 ln -s '$db.arb_databases.fields.path' reference.arb && |
20 #end if | 20 #end if |
21 | 21 |
22 ## run | 22 ## run |
23 sina | 23 sina |
24 --in='$in' | 24 --in='$in' |
25 --db=./reference.arb | 25 --db=reference.arb |
26 -p \${GALAXY_SLOTS:-4} | 26 -p \${GALAXY_SLOTS:-4} |
27 --num-pts=\${GALAXY_SLOTS:-4} | 27 --num-pts=\${GALAXY_SLOTS:-4} |
28 | 28 |
29 #if $os.type == 'arb' | 29 #if $os.type == 'arb' |
30 --outtype='arb' | 30 --outtype='arb' |
325 </test> | 325 </test> |
326 <!-- #6 in: *.fasta; db: <arb_databases>.arb; out: *.fasta; standard parameters --> | 326 <!-- #6 in: *.fasta; db: <arb_databases>.arb; out: *.fasta; standard parameters --> |
327 <test> | 327 <test> |
328 <param name="in" value="sequence.fasta"/> | 328 <param name="in" value="sequence.fasta"/> |
329 <conditional name="db"> | 329 <conditional name="db"> |
330 <param name="select" value="local"/> | 330 <param name="select" value="local"/> |
331 <param name="arb_databases" value="testarb"/> | 331 <param name="arb_databases" value="testarb"/> |
332 </conditional> | 332 </conditional> |
333 <section name="os"> | 333 <section name="os"> |
334 <param name="type" value="arb"/> | 334 <param name="type" value="arb"/> |
335 </section> | 335 </section> |