annotate macros.xml @ 5:74ed1718ef58 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 747394d19e88a569a5154615e366ea0401c820dd
author iuc
date Sat, 05 Oct 2024 19:55:43 +0000
parents 923df36f6592
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
1 <macros>
3
2af5a5ca9c87 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 0ed02865f048ad7471ea79509c0e23162bc29166"
iuc
parents: 0
diff changeset
2
5
74ed1718ef58 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 747394d19e88a569a5154615e366ea0401c820dd
iuc
parents: 4
diff changeset
3 <token name="@PROFILE@">23.1</token>
4
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
4
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
5 <xml name="discosnp_requirements">
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
6 <requirements>
5
74ed1718ef58 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 747394d19e88a569a5154615e366ea0401c820dd
iuc
parents: 4
diff changeset
7 <requirement type="package" version="@TOOL_VERSION@">discosnp</requirement>
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
8 </requirements>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
9 </xml>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
10
4
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
11 <token name="@discosnp_single_for@"><![CDATA[
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
12 #for $input in $input_type_options.list_reads:
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
13 ]]></token>
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
14
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
15 <token name="@discosnp_single_end_for@"><![CDATA[
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
16 echo '${filename}' >> input.lst &&
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
17 #end for
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
18 ]]></token>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
19
4
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
20 <token name="@single_reads@"><![CDATA[
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
21 #import re
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
22 #set $base_filename = re.sub('[^\w_]', '_', $input.element_identifier)
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
23 #if $input.ext.startswith('fasta'):
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
24 #set filename = $base_filename + ".fasta"
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
25 #else:
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
26 #set filename = $base_filename + ".fastq"
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
27 #end if
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
28 #if $input.ext.endswith('.gz'):
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
29 gunzip -c '${input}' > '${filename}' &&
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
30 #else:
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
31 ln -sf '${input}' '${filename}' &&
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
32 #end if
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
33 ]]></token>
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
34
4
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
35 <token name="@discosnp_paired_for@"><![CDATA[
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
36 #for $i, $paired in enumerate($input_type_options.list_paired_reads):
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
37 ]]></token>
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
38
4
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
39 <token name="@discosnp_paired_end_for@"><![CDATA[
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
40 echo '${forward}' > "paired_${i}.lst" &&
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
41 echo '${reverse}' >> "paired_${i}.lst" &&
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
42 echo "paired_${i}.lst" >> input.lst &&
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
43 #end for
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
44 ]]></token>
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
45
4
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
46 <token name="@paired_reads@"><![CDATA[
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
47 #set $base_forward = re.sub('[^\w_]', '_', $paired.forward.element_identifier)
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
48 #if $paired.forward.ext.startswith('fasta'):
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
49 #set forward = $base_forward + ".fasta"
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
50 #else:
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
51 #set forward = $base_forward + ".fastq"
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
52 #end if
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
53 #if $paired.forward.ext.endswith('.gz'):
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
54 gunzip -c '$paired.forward' > '$forward' &&
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
55 #else:
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
56 ln -sf '${paired.forward}' '$forward' &&
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
57 #end if
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
58
4
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
59 #set $base_reverse = re.sub('[^\w_]', '_', $paired.reverse.element_identifier)
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
60 #if $paired.reverse.ext.startswith('fasta'):
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
61 #set reverse = $base_reverse + ".fasta"
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
62 #else:
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
63 #set reverse = $base_reverse + ".fastq"
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
64 #end if
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
65 #if $paired.reverse.ext.endswith('.gz'):
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
66 gunzip -c '$paired.reverse' > '$reverse' &&
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
67 #else:
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
68 ln -sf '${paired.reverse}' '$reverse' &&
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
69 #end if
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
70 ]]></token>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
71
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
72 <xml name="discosnp_inputs">
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
73 <conditional name="input_type_options">
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
74 <param name="input_type" type="select" label="Input options">
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
75 <option value="single">Single end reads</option>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
76 <option value="paired">Paired end reads</option>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
77 <option value="mix">Both single and paired reads</option>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
78 </param>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
79 <when value="single">
4
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
80 <param name='list_reads' argument="-r" format="fasta,fasta.gz,fastq,fastq.gz" type="data" multiple="true" label="Single read files" />
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
81 </when>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
82 <when value="paired">
4
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
83 <param name='list_paired_reads' argument="-r" format="fasta,fasta.gz,fastq,fastq.gz" type="data_collection" collection_type="list:paired" multiple='true' label="List of paired read files" />
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
84 </when>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
85 <when value="mix">
4
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
86 <param name='list_reads' argument="-r" format="fasta,fasta.gz,fastq,fastq.gz" type="data" multiple="true" label="Single read files" />
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
87 <param name='list_paired_reads' argument="-r" format="fasta,fasta.gz,fastq,fastq.gz" type="data_collection" collection_type="list:paired" multiple='true' label="List of paired read files"/>
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
88 </when>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
89 </conditional>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
90 </xml>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
91
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
92 <xml name="discosnp_options">
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
93 <param argument="-D" type="integer" label="Deletion size" value="0" help="If different of 0, discoSnp will search for deletions of size from 1 to D included"/>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
94 <param argument="-P" type="integer" label="Maximum SNPs per bubble" value="1" help="discoSnp will search up to P SNPs in a unique bubble"/>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
95 <param name="low_complexity" type="boolean" checked="false" truevalue="-l" falsevalue="" label="Remove low complexity bubbles" />
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
96 <param argument="-k" type="integer" label="Size of kmers" value="31" />
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
97
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
98 <conditional name="coverage_options_type" >
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
99 <param name="coverage_options" type="select" label="Coverage option">
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
100 <option value="auto"></option>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
101 <option value="custom"></option>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
102 </param>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
103 <when value="auto" />
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
104 <when value="custom">
3
2af5a5ca9c87 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 0ed02865f048ad7471ea79509c0e23162bc29166"
iuc
parents: 0
diff changeset
105 <param argument="-c" type="text" label="Minimal coverage per read set" value="3" help="e.g. 3 / 3,5,17 / 3,auto,auto"/>
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
106 </when>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
107 </conditional>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
108
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
109 <param argument="-C" type="integer" label="Maximal coverage per read set" value="2147483647" help="default value = 2^31-1" />
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
110 <param argument="-d" type="integer" label="Max number of errors per read" value="1" help="Max number of errors per read" />
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
111
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
112 </xml>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
113
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
114 <token name="@discosnp_inputs@"><![CDATA[
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
115 -r input.lst
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
116 -D ${D}
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
117 -P ${P}
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
118 ${low_complexity}
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
119 -k ${k}
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
120
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
121 #if str($coverage_options_type.coverage_options) == 'auto'
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
122 -c auto
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
123 #else
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
124 -c '${coverage_options_type.c}'
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
125 #end if
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
126 -C ${C}
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
127 -d ${d}
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
128 ]]></token>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
129
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
130 <token name="@lordec_inputs@"><![CDATA[
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
131 -2 "${ ",".join(['%s' % file for file in $program_type_choice.inputs]) }"
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
132 -i '${program_type_choice.i}'
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
133 -k ${program_type_choice.k}
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
134 -s ${program_type_choice.s}
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
135 ]]></token>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
136
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
137 <xml name="lordec_inputs">
4
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
138 <param name="inputs" argument="-2" type="data" format="fasta,fastq.gz,fastq,fastq.gz" multiple="true" label="Short read FASTA/Q files" />
923df36f6592 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 8d37fef93da141323cc120b5fec737432e497dcf"
iuc
parents: 3
diff changeset
139 <param argument="-i" type="data" format="fasta,fastq.gz,fastq,fastq.gz" label="Long read FASTA/Q file" help="PacBio reads files" />
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
140 <param argument="-k" type="integer" label="Size of kmers" value="31" help="Only uneven number"/>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
141 <param argument="-s" type="integer" label="Solidity abundance threshold for k-mers" value="4" />
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
142 </xml>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
143
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
144 <token name="@discosnp_help@"><![CDATA[
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
145 -------
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
146
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
147 .. class:: warningmark
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
148
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
149 **Input parameters**
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
150
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
151 -Sequences files in fasta or fastq each allele will be counted in each file individually
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
152
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
153 -Use collections: data list and/or data list paired
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
154
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
155 -Fasta sequence of a genome if case of you are willing to map the sequence extension on a reference in order to get a compliant VCF
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
156
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
157 -------
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
158
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
159 .. class:: warningmark
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
160
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
161 **Ouput parameters**
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
162
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
163 -VCF file with coordinates on the higher branch sequences or on a reference genome if provided
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
164
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
165 -Fasta file with sequence extensions around the SNP.
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
166
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
167
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
168 -------
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
169
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
170 **Web site**
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
171
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
172 https://colibread.inria.fr/software/discosnp/
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
173
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
174 ]]></token>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
175
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
176 <xml name="citations">
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
177 <citations>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
178 <yield/>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
179 <citation type="doi">10.1186/s13742-015-0105-2</citation>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
180 </citations>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
181 </xml>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
182
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
183 <xml name="discosnp_citation">
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
184 <citation type="doi">10.1101/209965</citation>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
185 </xml>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
186
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
187 </macros>