Mercurial > repos > iuc > semibin_concatenate_fasta
annotate concatenate_fasta.xml @ 6:a72b974c98a2 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6
| author | iuc |
|---|---|
| date | Tue, 28 Oct 2025 08:21:31 +0000 |
| parents | 298542e0e136 |
| children |
| rev | line source |
|---|---|
|
0
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
1 <tool id="semibin_concatenate_fasta" name="SemiBin: Concatenate fasta files" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
2 <description> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
3 for multi-sample binning |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
4 </description> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
5 <macros> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
6 <import>macros.xml</import> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
7 </macros> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
8 <expand macro="biotools"/> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
9 <expand macro="requirements"/> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
10 <expand macro="version"/> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
11 <command detect_errors="exit_code"><![CDATA[ |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
12 #import re |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
13 #for $e in $input_fasta |
|
6
a72b974c98a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6
iuc
parents:
2
diff
changeset
|
14 #set $identifier = re.sub('[^\s\w\-]', '_', str($e.element_identifier)) |
|
a72b974c98a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6
iuc
parents:
2
diff
changeset
|
15 ln -s '$e' '${identifier}.$e.ext' && |
|
0
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
16 #end for |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
17 |
|
2
298542e0e136
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit 13abac83068b126399ec415141007a48c2efaa84
iuc
parents:
1
diff
changeset
|
18 SemiBin2 concatenate_fasta |
|
6
a72b974c98a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6
iuc
parents:
2
diff
changeset
|
19 --input-fasta |
|
a72b974c98a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6
iuc
parents:
2
diff
changeset
|
20 #for $e in $input_fasta |
|
a72b974c98a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6
iuc
parents:
2
diff
changeset
|
21 #set $identifier = re.sub('[^\s\w\-]', '_', str($e.element_identifier)) |
|
a72b974c98a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6
iuc
parents:
2
diff
changeset
|
22 '${identifier}.$e.ext' |
|
a72b974c98a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6
iuc
parents:
2
diff
changeset
|
23 #end for |
|
0
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
24 --output 'output' |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
25 --separator '$separator' |
|
2
298542e0e136
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit 13abac83068b126399ec415141007a48c2efaa84
iuc
parents:
1
diff
changeset
|
26 --compression none |
|
0
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
27 -m $min_len |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
28 ]]></command> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
29 <inputs> |
|
6
a72b974c98a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6
iuc
parents:
2
diff
changeset
|
30 <param argument="--input-fasta" type="data" multiple="true" format="fasta,fasta.gz,fasta.bz2" label="Contig sequences"/> |
|
0
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
31 <expand macro="separator"/> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
32 <expand macro="concat_min_len"/> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
33 </inputs> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
34 <outputs> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
35 <data name="fasta" format="fasta" from_work_dir="output/concatenated.fa" /> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
36 </outputs> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
37 <tests> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
38 <test expect_num_outputs="1"> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
39 <param name="input_fasta" ftype="fasta" value="input_single.fasta,input_single_2.fasta,input_single_3.fasta"/> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
40 <param name="separator" value=":"/> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
41 <param name="min_len" value="0"/> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
42 <output name="fasta" ftype="fasta"> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
43 <assert_contents> |
|
6
a72b974c98a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6
iuc
parents:
2
diff
changeset
|
44 <has_text text=">input_single_fasta:g1k_0"/> |
|
a72b974c98a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6
iuc
parents:
2
diff
changeset
|
45 <has_text text=">input_single_3_fasta:g4k_7"/> |
|
a72b974c98a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6
iuc
parents:
2
diff
changeset
|
46 <has_text text=">input_single_2_fasta:g1k_0"/> |
|
0
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
47 </assert_contents> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
48 </output> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
49 </test> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
50 </tests> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
51 <help><![CDATA[ |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
52 @HELP_HEADER@ |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
53 |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
54 Inputs |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
55 ====== |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
56 |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
57 @HELP_INPUT_FASTA@ |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
58 |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
59 Outputs |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
60 ======= |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
61 |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
62 - One fasta with all contigs |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
63 |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
64 ]]></help> |
|
dcc81bfe5f6a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
65 <expand macro="citations"/> |
|
1
e6bc3455940e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit 59a7b7a334fd2c3aca6163c2ff11d18ef654ab9d
iuc
parents:
0
diff
changeset
|
66 </tool> |
