annotate discosnp_RAD.xml @ 2:9ee3bf979757 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 45e32ab41e7cdc4e3dabe87f074f052667c22574"
author iuc
date Wed, 22 Jan 2020 17:26:07 -0500
parents 86b6b719e47d
children 2af5a5ca9c87
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 <?xml version='1.0' encoding='utf-8'?>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
2 <tool profile="16.04" id="discosnp_rad" name="DiscoSnpRAD" version="@DISCOSNP_VERSION@">
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
3 <description>discovering polymorphism from raw unassembled RADSeq NGS reads.</description>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
4 <macros>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
5 <import>macros.xml</import>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
6 </macros>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
7 <expand macro="discosnp_requirements" />
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
8 <command><![CDATA[
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
9 ## simple option
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
10 #if str( $input_type_options.input_type) == "single"
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
11 @discosnp_single_reads@
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
12 ## paired option
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
13 #else if str( $input_type_options.input_type) == "paired"
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
14 @discosnp_paired_reads@
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
15 ## mix option
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
16 #else
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
17 @discosnp_single_reads@
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
18 @discosnp_paired_reads@
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
19 #end if
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
20
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
21 ## get the absolute path for short_reads_connector
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
22 CONNECTOR_PATH=`which short_read_connector.sh` &&
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
23 CONNECTOR_DIR=`dirname \$CONNECTOR_PATH` &&
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
24
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
25 run_discoSnpRad.sh
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
26 @discosnp_inputs@
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
27 -S "\$CONNECTOR_DIR"
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
28 -a ${a}
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
29
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
30 ]]></command>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
31
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
32 <inputs>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
33
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
34 <expand macro="discosnp_inputs" />
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
35
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
36 <param argument="-b" type="select" label="Branching strategy">
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
37 <option value="1">forbid SNPs for wich the two paths are branching</option>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
38 <option value="2">No limitation on branching</option>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
39 </param>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
40
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
41 <param argument="-a" type="integer" label="Maximal size of ambiguity of INDELs" value="20" help="INDELS whose ambiguity is higher than this value are not output"/>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
42
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
43 <expand macro="discosnp_options" />
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
44
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
45 </inputs>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
46
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
47 <outputs>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
48 <data name="vcf" from_work_dir="*_coherent_sorted_with_clusters.vcf" format="vcf" label="VCF with ${tool.name} on $on_string"/>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
49 <data name="fasta" from_work_dir="discoRad_*_coherent.fa" format="fasta" label="Fasta with ${tool.name} on $on_string"/>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
50 </outputs>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
51
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
52 <tests>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
53 <test>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
54 <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
55 <param name="input_type" value="single"/>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
56 <param name="list_reads" value="discosnpRAD/loci_reads" ftype="fasta" />
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
57 </conditional>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
58 <param name="D" value="0"/>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
59 <param name="P" value="4"/>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
60 <param name="k" value="31"/>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
61 <param name="b" value="2"/>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
62 <output name="fasta" file="discosnpRAD/fasta.fa"/>
2
9ee3bf979757 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 45e32ab41e7cdc4e3dabe87f074f052667c22574"
iuc
parents: 0
diff changeset
63 <output name="vcf">
9ee3bf979757 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 45e32ab41e7cdc4e3dabe87f074f052667c22574"
iuc
parents: 0
diff changeset
64 <assert_contents>
9ee3bf979757 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 45e32ab41e7cdc4e3dabe87f074f052667c22574"
iuc
parents: 0
diff changeset
65 <has_n_lines n="8"/>
9ee3bf979757 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 45e32ab41e7cdc4e3dabe87f074f052667c22574"
iuc
parents: 0
diff changeset
66 <has_text text="Ty=SNP;Rk=0;UL=23;UR=39;CL=.;CR=.;Genome=.;Sd=."/>
9ee3bf979757 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 45e32ab41e7cdc4e3dabe87f074f052667c22574"
iuc
parents: 0
diff changeset
67 <has_text text="0/1:84:604,15,604:42,42:0,0"/>
9ee3bf979757 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 45e32ab41e7cdc4e3dabe87f074f052667c22574"
iuc
parents: 0
diff changeset
68 </assert_contents>
9ee3bf979757 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 45e32ab41e7cdc4e3dabe87f074f052667c22574"
iuc
parents: 0
diff changeset
69 </output>
0
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
70 </test>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
71 </tests>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
72
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
73 <help><![CDATA[
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
74
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
75 **Description**
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
76
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
77 Software discoSnp is designed for discovering Single Nucleotide Polymorphism (SNP) from raw set(s) of reads obtained with Next Generation Sequencers (NGS).
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
78
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
79 DiscoSnpRad uses options specific to RAD-Seq: branching strategy, kind of extensions, abundance threshold, and kind of bubbles to be found.
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
80
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
81 Moreover, it clusters variants per locus by calling the `discoRAD_finalization.sh` pipeline. Cluster information is reported in the final provided VCF file.
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
82
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
83 Note that from release of DiscoSnp++-2.0.6, the tool also detects close SNPs and indels.
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
84
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
85 @discosnp_help@
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
86
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
87
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
88 ]]></help>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
89 <expand macro="citations">
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
90 <expand macro="discosnp_citation" />
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
91 </expand>
86b6b719e47d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit 7e976e65d4630ce8b485efd1d50a168ba98276e6
iuc
parents:
diff changeset
92 </tool>