annotate hapcut2.xml @ 0:fb00fb7cb201 draft

"planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
author galaxy-australia
date Wed, 27 Apr 2022 06:34:22 +0000
parents
children 271eb7f4b8bc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
1 <tool id="hapcut2" name="Hapcut2" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@+ga@GA_VERSION_SUFFIX@">
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
2 <description> - haplotype assembly for diploid organisms</description>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
3 <xrefs>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
4 <xref type="bio.tools">hapcut2</xref>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
5 </xrefs>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
6 <macros>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
7 <token name="@TOOL_VERSION@">1.3.3</token>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
8 <token name="@VERSION_SUFFIX@">0</token>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
9 <token name="@GA_VERSION_SUFFIX@">1</token>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
10 </macros>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
11 <requirements>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
12 <requirement type="package" version="1.3.3">hapcut2</requirement>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
13 </requirements>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
14
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
15 <command detect_errors="exit_code"><![CDATA[
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
16
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
17 ## Prep inputs
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
18 ## =====================================================================
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
19 ln -s '$input_bam' input.bam
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
20 && ln -s '$input_vcf' input.vcf
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
21
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
22
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
23 ## Run program
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
24 ## =====================================================================
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
25 ## Extract variant fragments from alignment
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
26 && extractHAIRS --bam input.bam --VCF input.vcf --out frags.dat
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
27 #if $optimization.choice == 'pacbio':
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
28 --pacbio 1
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
29 --ref '$optimization.reference_fasta'
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
30 #elif $optimization.choice == 'ont':
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
31 --ont 1
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
32 --ref '$optimization.reference_fasta'
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
33 #elif $optimization.choice == 'hic':
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
34 --HiC 1
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
35 #end if
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
36
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
37 #if $advanced.minIS
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
38 --minIS $advanced.minIS
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
39 #end if
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
40
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
41 #if $advanced.maxIS
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
42 --maxIS $advanced.maxIS
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
43 #end if
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
44
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
45 ## Create haplotype.out and haplotype.out.phased.VCF
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
46 && HAPCUT2 --fragments frags.dat --VCF input.vcf --output haplotype.out
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
47 #if $optimization.choice == 'hic':
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
48 --HiC 1
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
49 #end if
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
50
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
51 ]]></command>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
52
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
53 <inputs>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
54 <param name="input_bam" type="data" format="bam" label="Input BAM file"/>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
55 <param name="input_vcf" type="data" format="vcf" label="Input VCF file"/>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
56
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
57 <conditional name="optimization">
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
58 <!-- TODO: include 10X (requires extra processing step) -->
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
59 <param name="choice" type="select" display="radio" label="Optimization">
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
60 <option value="default" selected="true">Default</option>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
61 <option value="pacbio">Pacbio</option>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
62 <option value="ont">Oxford Nanopore</option>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
63 <option value="hic">Hi-C</option>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
64 </param>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
65
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
66 <when value="pacbio">
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
67 <param name="reference_fasta" type="data" format="fasta"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
68 label="Reference genome fasta file"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
69 help="The reference genome is required for long-read optimization."
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
70 />
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
71 </when>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
72
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
73 <when value="ont">
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
74 <param name="reference_fasta" type="data" format="fasta"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
75 label="Reference genome fasta file"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
76 help="The reference genome is required for long-read optimization."
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
77 />
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
78 </when>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
79 </conditional>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
80
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
81 <param name="output_phased" type="boolean" label="Output phased VCF file?"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
82 checked="true"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
83 help="Output variant calls on the haplotype assembly"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
84 />
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
85 <param name="output_fragments" type="boolean" label="Output fragments file?"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
86 help="Output fragments collected by extractHAIRS"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
87 />
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
88
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
89
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
90 <section name="advanced" title="Advanced parameters">
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
91 <param name="maxIS" type="integer" label="Maximum insert size"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
92 optional="true" value="1000"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
93 help="Maximum insert size for a paired-end read to be considered as a single fragment for phasing."
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
94 />
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
95
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
96 <param name="minIS" type="integer" label="Minimum insert size"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
97 optional="true" value="0"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
98 help="Minimum insert size for a paired-end read to be considered as a single fragment for phasing."
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
99 />
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
100 </section>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
101 </inputs>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
102
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
103 <outputs>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
104 <data name="haplotype" format="txt" from_work_dir="haplotype.out"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
105 label="${tool.name} on ${on_string}: Haplotype block"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
106 />
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
107 <data name="haplotype_phased" format="vcf" from_work_dir="haplotype.out.phased.VCF"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
108 label="${tool.name} on ${on_string}: Phased haplotype VCF"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
109 >
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
110 <filter>output_phased</filter>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
111 </data>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
112 <data name="frags" format="txt" from_work_dir="frags.dat"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
113 label="${tool.name} on ${on_string}: Fragments"
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
114 >
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
115 <filter>output_fragments</filter>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
116 </data>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
117 </outputs>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
118
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
119 <tests>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
120 <test expect_num_outputs="3">
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
121 <param name="input_bam" ftype="bam" value="input.bam"/>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
122 <param name="input_vcf" ftype="vcf" value="input.vcf"/>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
123 <param name="output_fragments" value="1"/>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
124 <param name="output_phased" value="1"/>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
125 <param name="optimization" value="default"/>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
126 <output name="frags" ftype="txt" file="output_frag.dat"/>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
127 <output name="haplotype" ftype="txt" file="output_haplotype.out"/>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
128 <output name="haplotype_phased" ftype="vcf" file="output_haplotype.out.phased.vcf"/>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
129 </test>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
130 </tests>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
131
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
132 <help><![CDATA[
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
133 .. class:: infomark
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
134
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
135 *NOTE: At this time HapCUT2 is for diploid organisms only and can assemble haplotypes for one individual at a time. VCF input should contain variants and genotypes for a single diploid individual.*
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
136
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
137 .. class:: infomark
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
138
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
139 *NOTE: At this time HapCUT2 on Galaxy cannot be used for 10X Genomics sequencing data.*
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
140
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
141
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
142 **What it does**
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
143
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
144 HapCUT2 is a maximum-likelihood-based tool for assembling haplotypes from DNA sequence reads, designed to "just work" with excellent speed and accuracy. Previously described haplotype assembly methods are specialized for specific read technologies or protocols, with slow or inaccurate performance on others. With this in mind, HapCUT2 is designed for speed and accuracy across diverse sequencing technologies, including but not limited to:
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
145
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
146 - NGS short reads (Illumina HiSeq)
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
147 - single-molecule long reads (PacBio and Oxford Nanopore)
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
148 - Linked-Reads (e.g. 10X Genomics, stLFR or TELL-seq)
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
149 - proximity-ligation (Hi-C) reads
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
150 - high-coverage sequencing (>40x coverage-per-SNP) using above technologies
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
151 - combinations of the above technologies (e.g. scaffold long reads with Hi-C reads)
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
152
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
153
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
154 **Inputs**
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
155
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
156 Input data should reference a single diploid individual mapped to a reference genome.
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
157
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
158 1. BAM file with reads mapped to reference genome
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
159
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
160 2. VCF file with variant calls against reference genome
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
161
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
162 *Using linked reads (10X Genomics, stLFR etc)?* Additional preparation is required: `see here <https://github.com/vibansal/HapCUT2/blob/master/linkedreads.md>`_
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
163
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
164
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
165 **Outputs**
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
166
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
167 - ``haplotype.out``: `phased block file <https://github.com/vibansal/HapCUT2/blob/master/outputformat.md>`_
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
168 - ``haplotype.out.phased.vcf``: (optional) phased VCF file
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
169 - ``Fragments``: (optional) An intermediate file containing alignment fragments with haplotype information
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
170
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
171 See `HapCUT2 on GitHib <https://github.com/vibansal/HapCUT2>`_ for more detailed information.
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
172
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
173 ]]></help>
fb00fb7cb201 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty"
galaxy-australia
parents:
diff changeset
174 </tool>