5
|
1 <tool id="complete_immunerepertoire_igg" name="Immune Repertoire pipeline" version="1.0">
|
|
2 <description> </description>
|
|
3 <command interpreter="bash">
|
|
4 complete.sh "
|
|
5 #for $i, $f in enumerate($patients)
|
|
6 "${f.id}"
|
|
7 #for $j, $g in enumerate($f.samples)
|
|
8 ${g.sample}
|
|
9 #end for
|
|
10 #end for
|
|
11 " $out_file $out_file.files_path "$clonaltype"
|
|
12 #if $gene_selection.source == "imgtdb"
|
|
13 "${gene_selection.species}" "${gene_selection.locus}" $filterproductive ${clonality_method}
|
|
14 #else
|
|
15 "custom" "${gene_selection.vgenes};${gene_selection.dgenes};${gene_selection.jgenes}" $filterproductive $clonality_method
|
|
16 #end if
|
|
17 </command>
|
|
18 <inputs>
|
|
19 <repeat name="patients" title="Donor" min="1" default="1">
|
|
20 <repeat name="samples" title="Sample" min="1" default="1">
|
|
21 <param name="sample" type="data" label="Sample to Process" />
|
|
22 </repeat>
|
|
23 <param name="id" type="text" label="ID" />
|
|
24 </repeat>
|
|
25 <param name="clonaltype" type="select" label="Clonal Type Definition">
|
|
26 <option value="none">Don't remove duplicates based on clonaltype</option>
|
|
27 <option value="Top.V.Gene,CDR3.Seq">Top.V.Gene, CDR3 (AA)</option>
|
|
28 <option value="Top.V.Gene,CDR3.Seq.DNA">Top.V.Gene, CDR3 (nt)</option>
|
|
29 <option value="Top.V.Gene,Top.J.Gene,CDR3.Seq">Top.V.Gene, Top.J.Gene, CDR3 (AA)</option>
|
|
30 <option value="Top.V.Gene,Top.J.Gene,CDR3.Seq.DNA">Top.V.Gene, Top.J.Gene, CDR3 (nt)</option>
|
|
31 <option value="Top.V.Gene,Top.D.Gene,Top.J.Gene,CDR3.Seq.DNA">Top.V.Gene, Top.D.Gene, Top.J.Gene, CDR3 (nt)</option>
|
|
32 </param>
|
|
33
|
|
34 <conditional name="gene_selection" >
|
|
35 <param name="source" type="select" label="Order of V(D)J genes in graphs" help="" >
|
|
36 <option value="imgtdb" selected="true">IMGT-DB</option>
|
|
37 <option value="custom">User defined</option>
|
|
38 </param>
|
|
39 <when value="imgtdb">
|
|
40 <param name="species" type="select" label="Species">
|
|
41 <option value="Homo sapiens functional">Homo sapiens functional</option>
|
|
42 <option value="Homo sapiens">Homo sapiens</option>
|
|
43 <option value="Homo sapiens non-functional">Homo sapiens non-functional</option>
|
|
44 <option value="Bos taurus">Bos taurus</option>
|
|
45 <option value="Bos taurus functional">Bos taurus functional</option>
|
|
46 <option value="Bos taurus non-functional">Bos taurus non-functional</option>
|
|
47 <option value="Camelus dromedarius">Camelus dromedarius</option>
|
|
48 <option value="Camelus dromedarius functional">Camelus dromedarius functional</option>
|
|
49 <option value="Camelus dromedarius non-functional">Camelus dromedarius non-functional</option>
|
|
50 <option value="Canis lupus familiaris">Canis lupus familiaris</option>
|
|
51 <option value="Canis lupus familiaris functional">Canis lupus familiaris functional</option>
|
|
52 <option value="Canis lupus familiaris non-functional">Canis lupus familiaris non-functional</option>
|
|
53 <option value="Danio rerio">Danio rerio</option>
|
|
54 <option value="Danio rerio functional">Danio rerio functional</option>
|
|
55 <option value="Danio rerio non-functional">Danio rerio non-functional</option>
|
|
56 <option value="Macaca mulatta">Macaca mulatta</option>
|
|
57 <option value="Macaca mulatta functional">Macaca mulatta functional</option>
|
|
58 <option value="Macaca mulatta non-functional">Macaca mulatta non-functional</option>
|
|
59 <option value="Mus musculus">Mus musculus</option>
|
|
60 <option value="Mus musculus functional">Mus musculus functional</option>
|
|
61 <option value="Mus musculus non-functional">Mus musculus non-functional</option>
|
|
62 <option value="Mus spretus">Mus spretus</option>
|
|
63 <option value="Mus spretus functional">Mus spretus functional</option>
|
|
64 <option value="Mus spretus non-functional">Mus spretus non-functional</option>
|
|
65 <option value="Oncorhynchus mykiss">Oncorhynchus mykiss</option>
|
|
66 <option value="Oncorhynchus mykiss functional">Oncorhynchus mykiss functional</option>
|
|
67 <option value="Oncorhynchus mykiss non-functional">Oncorhynchus mykiss non-functional</option>
|
|
68 <option value="Ornithorhynchus anatinus">Ornithorhynchus anatinus</option>
|
|
69 <option value="Ornithorhynchus anatinus functional">Ornithorhynchus anatinus functional</option>
|
|
70 <option value="Ornithorhynchus anatinus non-functional">Ornithorhynchus anatinus non-functional</option>
|
|
71 <option value="Oryctolagus cuniculus">Oryctolagus cuniculus</option>
|
|
72 <option value="Oryctolagus cuniculus functional">Oryctolagus cuniculus functional</option>
|
|
73 <option value="Oryctolagus cuniculus non-functional">Oryctolagus cuniculus non-functional</option>
|
|
74 <option value="Rattus norvegicus">Rattus norvegicus</option>
|
|
75 <option value="Rattus norvegicus functional">Rattus norvegicus functional</option>
|
|
76 <option value="Rattus norvegicus non-functional">Rattus norvegicus non-functional</option>
|
|
77 <option value="Sus scrofa">Sus scrofa</option>
|
|
78 <option value="Sus scrofa functional">Sus scrofa functional</option>
|
|
79 <option value="Sus scrofa non-functional">Sus scrofa non-functional</option>
|
|
80 </param>
|
|
81
|
|
82 <param name="locus" type="select" label="Locus">
|
|
83 <option value="TRA">TRA</option>
|
|
84 <option value="TRD">TRD</option>
|
|
85 <option value="TRG">TRG</option>
|
|
86 <option value="TRB">TRB</option>
|
|
87 <option value="IGH">IGH</option>
|
|
88 <option value="IGI">IGI</option>
|
|
89 <option value="IGK">IGK</option>
|
|
90 <option value="IGL">IGL</option>
|
|
91 </param>
|
|
92 </when>
|
|
93 <when value="custom">
|
|
94 <param name="species" type="hidden" value="custom" size="50" />
|
|
95 <param name="vgenes" type="text" label="V Genes, add the custom genes comma seperated, no spaces" size="100" />
|
|
96 <param name="dgenes" type="text" label="D Genes" size="100" />
|
|
97 <param name="jgenes" type="text" label="J Genes" size="100" />
|
|
98 </when>
|
|
99 </conditional>
|
|
100
|
|
101 <param name="filterproductive" type="select" label="Remove the unproductive sequences from graphs ">
|
|
102 <option value="yes">Yes</option>
|
|
103 <option value="no">No</option>
|
|
104 </param>
|
|
105
|
|
106 <param name="clonality_method" type="select" label="Old clonality algorithm or the newer R package">
|
|
107 <option value="old">Old</option>
|
|
108 <option value="boyd">R Package (needs 3 replicate minimum)</option>
|
|
109 </param>
|
|
110 </inputs>
|
|
111 <outputs>
|
|
112 <data format="html" name="out_file" />
|
|
113 </outputs>
|
|
114 <requirements>
|
|
115 <requirement type="package" version="0.6">igblastwrp</requirement>
|
|
116 <requirement type="package" version="3.3">weblogo</requirement>
|
|
117 <!--<requirement type="package" version="0.20">circostools</requirement>-->
|
|
118 </requirements>
|
|
119 <help>
|
|
120 The entire Immune Repertoire pipeline as a single tool, input several FASTA files or IMGT zip/txz files, give them an ID and it will BLAST/parse, merge and plot them.
|
|
121
|
|
122 .. class:: warningmark
|
|
123
|
|
124 Custom gene ordering based on position on genome:
|
|
125
|
|
126 **Human**
|
|
127
|
|
128 IGH::
|
|
129
|
|
130 V:
|
|
131 IGHV7-81,IGHV3-74,IGHV3-73,IGHV3-72,IGHV3-71,IGHV2-70,IGHV1-69,IGHV3-66,IGHV3-64,IGHV4-61,IGHV4-59,IGHV1-58,IGHV3-53,IGHV3-52,IGHV5-a,IGHV5-51,IGHV3-49,IGHV3-48,IGHV3-47,IGHV1-46,IGHV1-45,IGHV3-43,IGHV4-39,IGHV3-35,IGHV4-34,IGHV3-33,IGHV4-31,IGHV4-30-4,IGHV4-30-2,IGHV3-30-3,IGHV3-30,IGHV4-28,IGHV2-26,IGHV1-24,IGHV3-23,IGHV3-22,IGHV3-21,IGHV3-20,IGHV3-19,IGHV1-18,IGHV3-15,IGHV3-13,IGHV3-11,IGHV3-9,IGHV1-8,IGHV3-7,IGHV2-5,IGHV7-4-1,IGHV4-4,IGHV4-b,IGHV1-3,IGHV1-2,IGHV6-1
|
|
132 D:
|
|
133 IGHD1-1,IGHD2-2,IGHD3-3,IGHD6-6,IGHD1-7,IGHD2-8,IGHD3-9,IGHD3-10,IGHD4-11,IGHD5-12,IGHD6-13,IGHD1-14,IGHD2-15,IGHD3-16,IGHD4-17,IGHD5-18,IGHD6-19,IGHD1-20,IGHD2-21,IGHD3-22,IGHD4-23,IGHD5-24,IGHD6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