Mercurial > repos > iuc > delly_lr
comparison lr.xml @ 1:d5124d5c8131 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/delly commit 3da28c7772346e1872b6d768b904305be0c61db7"
author | iuc |
---|---|
date | Thu, 29 Oct 2020 20:51:54 +0000 |
parents | 629a0066003d |
children | ceda4714f3a1 |
comparison
equal
deleted
inserted
replaced
0:629a0066003d | 1:d5124d5c8131 |
---|---|
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 <tool id="delly_lr" name="Delly long-read (lr)" version="@TOOL_VERSION@+galaxy0" profile="18.01"> | 2 <tool id="delly_lr" name="Delly long-read (lr)" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="18.01"> |
3 <description>optimized calling and genotyping of structural variants</description> | 3 <description>optimized calling and genotyping of structural variants</description> |
4 <macros> | 4 <macros> |
5 <import>macros.xml</import> | 5 <import>macros.xml</import> |
6 </macros> | 6 </macros> |
7 <expand macro="requirements"/> | 7 <expand macro="requirements"/> |
8 <expand macro="version_command"/> | 8 <expand macro="version_command"/> |
9 <command detect_errors="exit_code"><![CDATA[ | 9 <command detect_errors="exit_code"><![CDATA[ |
10 ## initialize | 10 ## initialize |
11 #for $i, $current in enumerate($samples) | 11 @BAM@ |
12 ln -s '${current}' 'sample_${i}.bam' && | |
13 ln -s '${current.metadata.bam_index}' 'sample_${i}.bam.bai' && | |
14 #end for | |
15 | 12 |
16 ## run | 13 ## run |
17 delly lr | 14 delly lr |
18 ## generic options | 15 ## generic options |
19 --svtype $generic.svtype | 16 --svtype $generic.svtype |
24 #end if | 21 #end if |
25 --outfile 'result.bcf' | 22 --outfile 'result.bcf' |
26 ## discovery options | 23 ## discovery options |
27 --mapqual $discovery.mapqual | 24 --mapqual $discovery.mapqual |
28 --minclip $discovery.minclip | 25 --minclip $discovery.minclip |
26 --min-clique-size $discovery.mincliquesize | |
29 --minrefsep $discovery.minrefsep | 27 --minrefsep $discovery.minrefsep |
30 --maxreadsep $discovery.maxreadsep | 28 --maxreadsep $discovery.maxreadsep |
31 ## genotyping options | 29 ## genotyping options |
32 #if $genotyping.vcffile | 30 #if $genotyping.vcffile |
33 --vcffile '$genotyping.vcffile' | 31 --vcffile '$genotyping.vcffile' |
40 #for $i, $current in enumerate($samples) | 38 #for $i, $current in enumerate($samples) |
41 'sample_${i}.bam' | 39 'sample_${i}.bam' |
42 #end for | 40 #end for |
43 | 41 |
44 ## postprocessing | 42 ## postprocessing |
45 #if 'log' in $oo.out | 43 @LOG@ |
46 |& tee 'log.txt' | 44 @VCF@ |
47 #end if | 45 @DUMP@ |
48 #if 'vcf' in $oo.out | |
49 && test -f 'result.bcf' && bcftools view 'result.bcf' > 'result.vcf' || echo 'No results.' | |
50 #end if | |
51 #if 'dump' in $oo.out | |
52 && test -f 'dump.tsv.gz' && bgzip -d 'dump.tsv.gz' || echo 'No dump file.' | |
53 #end if | |
54 ]]></command> | 46 ]]></command> |
55 <inputs> | 47 <inputs> |
56 <expand macro="samples"/> | 48 <expand macro="samples"/> |
57 <section name="generic" title="Generic options" expanded="true"> | 49 <section name="generic" title="Generic options" expanded="true"> |
58 <expand macro="genome"/> | 50 <expand macro="genome"/> |
64 </param> | 56 </param> |
65 </section> | 57 </section> |
66 <section name="discovery" title="Discovery options" expanded="true"> | 58 <section name="discovery" title="Discovery options" expanded="true"> |
67 <param argument="--mapqual" type="integer" value="1" label="Set minimum mapping quality"/> | 59 <param argument="--mapqual" type="integer" value="1" label="Set minimum mapping quality"/> |
68 <expand macro="minclip"/> | 60 <expand macro="minclip"/> |
69 <expand macro="minrefsep"/> | 61 <expand macro="mincliquesize"/> |
70 <expand macro="maxreadsep"/> | 62 <expand macro="minrefsep" defaut="30"/> |
63 <expand macro="maxreadsep" defaut="75"/> | |
71 </section> | 64 </section> |
72 <section name="genotyping" title="Genotyping options" expanded="true"> | 65 <section name="genotyping" title="Genotyping options" expanded="true"> |
73 <expand macro="vcffile"/> | 66 <expand macro="vcffile"/> |
74 <expand macro="genoqual"/> | 67 <expand macro="genoqual"/> |
75 </section> | 68 </section> |
179 <section name="discovery"> | 172 <section name="discovery"> |
180 <param name="mapqual" value="2"/> | 173 <param name="mapqual" value="2"/> |
181 <param name="qualtra" value="19"/> | 174 <param name="qualtra" value="19"/> |
182 <param name="madcutoff" value="8"/> | 175 <param name="madcutoff" value="8"/> |
183 <param name="minclip" value="24"/> | 176 <param name="minclip" value="24"/> |
177 <param name="mincliquesize" value="1"/> | |
184 <param name="minrefsep" value="24"/> | 178 <param name="minrefsep" value="24"/> |
185 <param name="maxreadsep" value="39"/> | 179 <param name="maxreadsep" value="39"/> |
186 </section> | 180 </section> |
187 <section name="genotyping"> | 181 <section name="genotyping"> |
188 <param name="genoqual" value="4"/> | 182 <param name="genoqual" value="4"/> |
283 | 277 |
284 **What it does** | 278 **What it does** |
285 | 279 |
286 @WID@ | 280 @WID@ |
287 | 281 |
288 Delly *lr* uses the long-read SV discovery mode. | 282 Delly *long-read (lr)* uses the long-read SV discovery mode. |
289 | 283 |
290 **Input** | 284 **Input** |
291 | 285 |
292 Delly *lr* needs a sorted, indexed and duplicate marked BAM file for every input sample. An indexed reference genome is required to identify split-reads. Additionally a VCF/BCF file for genotyping can be applied. | 286 Delly *long-read (lr)* needs a sorted, indexed and duplicate marked BAM file for every input sample. An indexed reference genome is required to identify split-reads. Additionally a VCF/BCF file for genotyping can be applied. |
293 | 287 |
294 **Output** | 288 **Output** |
295 | 289 |
296 The output is available in BCF and VCF format. Additionally a output file for SV-reads is provided. | 290 The output is available in BCF and VCF format. Additionally an output file for SV-reads is provided. |
297 | 291 |
298 .. class:: infomark | 292 .. class:: infomark |
299 | 293 |
300 **References** | 294 **References** |
301 | 295 |