annotate bbric_disco.xml @ 2:aebd0e4e3d78

change bwa package dependency
author cmonjeau
date Mon, 20 Jul 2015 09:16:05 +0000
parents 1beb3ed9e1e3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
1 <tool id="discosnp_pp" name="discoSnp++" version="2.1.7">
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
2 <description>is an efficient tool for detecting SNPs without a reference genome.</description>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
3 <requirements>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
4 <requirement type="package" version="2.1.7">discoSnp_plus_plus</requirement>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
5 <requirement type="package" version="0.6.2">bwa</requirement>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
6 </requirements>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
7 <command interpreter="python">
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
8 bbric_disco.py
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
9 -r ${datfile}
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
10 -b $branching_bubbles
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
11 -D $deletions
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
12 -P $limit_snp
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
13 #if $low_complexity
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
14 -l
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
15 #end if
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
16 -k $kmer
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
17 #if (str($extension) == 't'):
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
18 -t
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
19 #end if
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
20 #if (str($extension) == 'T'):
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
21 -T
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
22 #end if
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
23 -c $coverage
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
24 -C ${maxcoverage}
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
25 -d $error_threshold
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
26 #if (str($VCF_option.mapping) == 'reference'):
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
27 -G ${VCF_option.reference}
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
28 -M ${VCF_option.mapping_error}
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
29 #end if
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
30 </command>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
31
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
32 <inputs>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
33 <repeat name="input_list" title="input files" min="1">
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
34 <param name="input" type="data" format="fasta,fastq,fastq.gz" label="input"/>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
35 </repeat>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
36
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
37 <param name="kmer" type="integer" label="Size of kmers" value="31" />
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
38 <param name="coverage" type="integer" label="Minimal coverage per read set" value="4" />
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
39 <param name="maxcoverage" type="integer" label="Maximal coverage per read set" value="2147483647" help="default value = 2^31-1" />
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
40 <param name="error_threshold" type="integer" label="Max number of errors per read" value="1" help="Max number of errors per read" />
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
41
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
42 <param name="branching_bubbles" type="select" label="branching strategy">
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
43 <option value="0">variants for which any of the two paths is branching are discarded</option>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
44 <option value="1">forbid SNPs for wich the two paths are branching</option>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
45 <option value="2">No limitation on branching</option>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
46 </param>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
47
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
48 <param name="deletions" type="integer" label="deletion size" value="0" help="If different of 0, discoSnp++ will search for deletions of size from 1 to the value included"/>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
49 <param name="limit_snp" type="integer" label="maximum SNPs per bubble" value="1" help="discoSnp++ will search up to the value SNPs in a unique bubble"/>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
50 <param name="low_complexity" type="boolean" default="False" checked="False" label="accept low complexity bubbles" />
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
51
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
52 <param name="extension" type="select" label="extension strategy">
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
53 <option value="n">extends to 30bp on left and right</option>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
54 <option value="t">extends left and right until a polymorphism s found (unitigs)</option>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
55 <option value="T">extends left and right using local assembly (contigs)</option>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
56 </param>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
57 <conditional name="VCF_option" >
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
58 <param name="mapping" type="select" label="VCF option">
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
59 <option value="default">Do not use reference genome</option>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
60 <option value="reference">Mapping with a reference genome</option>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
61 </param>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
62 <when value="defaut"></when>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
63 <when value="reference">
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
64 <param name="reference" type="data" format="fasta,fastq" label="Reference genome file" />
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
65 <param name="mapping_error" type="integer" value="4" label="Maximal number of mapping errors" help="during BWA mapping phase" />
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
66 </when>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
67 </conditional>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
68
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
69 </inputs>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
70
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
71 <outputs>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
72 <!-- <data name="report" from_work_dir="report.txt" format="txt" label="Output of ${tool.name} on $on_string"/> -->
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
73 <data name="vcf" from_work_dir="coherent.vcf" format="vcf" label="VCF of ${tool.name} on $on_string"/>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
74 <data name="fasta" from_work_dir="coherent.fasta" format="fasta" label="Multifasta of the polymorphisms - ${tool.name} on $on_string"/>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
75 </outputs>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
76
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
77 <configfiles>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
78 <configfile name="datfile">
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
79 #for $i, $lib in enumerate ($input_list)
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
80 ${i}::${lib.input}
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
81 #end for
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
82 </configfile>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
83 </configfiles>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
84 <help>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
85
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
86 **Description**
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
87
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
88 Software discoSnp is designed for discovering Single Nucleotide Polymorphism (SNP) from raw set(s) of reads obtained with Next Generation Sequencers (NGS).
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
89 Note that number of input read sets is not constrained, it can be one, two, or more. Note also that no other data as reference genome or annotations are needed.
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
90 The software is composed by two modules. First module, kissnp2, detects SNPs from read sets. A second module, kissreads, enhance the kissnp2 results by computing per read set and for each found SNP i/ its mean read coverage and ii/ the (phred) quality of reads generating the polymorphism.
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
91
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
92 Note that from release of DiscoSnp++-2.0.6, the tool also detects close SNPs and indels.
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
93
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
94 -------
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
95
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
96 .. class:: warningmark
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
97
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
98 **Input parameters**
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
99
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
100 -Sequences files in fasta, fastq or fastq.gz, each allele will be counted in each file individually
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
101
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
102 -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
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
103
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
104 -------
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
105
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
106 .. class:: warningmark
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
107
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
108 **Ouput parameters**
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
109
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
110 -VCF file with coordinates on the higher branch sequences or on a reference genome if provided
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
111
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
112 -Fasta file with sequence extensions around the SNP.
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
113
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
114
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
115 -------
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
116
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
117 **Web site**
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
118
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
119 https://colibread.inria.fr/software/discosnp/
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
120
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
121 -------
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
122
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
123 **Integrated by**
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
124
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
125 Cyril Monjeaud and Fabrice Legeai
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
126
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
127 GenOuest Bio-informatics Core Facility
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
128
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
129 UMR 6074 IRISA INRIA-CNRS-UR1 Rennes (France)
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
130
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
131 support@genouest.org
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
132
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
133 If you use this tool in Galaxy, please cite :
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
134
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
135 `Y. Le Bras, A. Roult, C. Monjeaud, M. Bahin, O. Quenez, C. Heriveau, A. Bretaudeau, O. Sallou, O. Collin, Towards a Life Sciences Virtual Research Environment : an e-Science initiative in Western France. JOBIM 2013. &lt;https://www.e-biogenouest.org/resources/128&gt;`_
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
136
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
137 </help>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
138 <citations>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
139 <citation type="doi">10.1093/nar/gku1187</citation>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
140 <citation type="bibtex">@INPROCEEDINGS{JOBIM2013,
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
141 author = {Le Bras, Y. and ROULT, A. and Monjeaud, C. and Bahin, M. and Quenez, O. and Heriveau, C. and Bretaudeau, A. and Sallou, O. and Collin, O.},
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
142 title = {Towards a Life Sciences Virtual Research Environment: An e-Science initiative in Western France},
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
143 booktitle = {JOBIM 2013 Proceedings},
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
144 year = {2013},
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
145 url = {https://www.e-biogenouest.org/resources/128},
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
146 pages = {97-106}
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
147 }
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
148 </citation>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
149 </citations>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
150 </tool>
1beb3ed9e1e3 Imported from capsule None
cmonjeau
parents:
diff changeset
151