# HG changeset patch # User galaxy-australia # Date 1651041262 0 # Node ID fb00fb7cb201cafa188f33519b62772f058a1a89 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 7770c3ea0fab9df0f39d3d73d10c9e282b77c60f-dirty" diff -r 000000000000 -r fb00fb7cb201 hapcut2.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hapcut2.xml Wed Apr 27 06:34:22 2022 +0000 @@ -0,0 +1,174 @@ + + - haplotype assembly for diploid organisms + + hapcut2 + + + 1.3.3 + 0 + 1 + + + hapcut2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + output_phased + + + output_fragments + + + + + + + + + + + + + + + + + 40x coverage-per-SNP) using above technologies +- combinations of the above technologies (e.g. scaffold long reads with Hi-C reads) + + +**Inputs** + +Input data should reference a single diploid individual mapped to a reference genome. + +1. BAM file with reads mapped to reference genome + +2. VCF file with variant calls against reference genome + +*Using linked reads (10X Genomics, stLFR etc)?* Additional preparation is required: `see here `_ + + +**Outputs** + +- ``haplotype.out``: `phased block file `_ +- ``haplotype.out.phased.vcf``: (optional) phased VCF file +- ``Fragments``: (optional) An intermediate file containing alignment fragments with haplotype information + +See `HapCUT2 on GitHib `_ for more detailed information. + + ]]> +
diff -r 000000000000 -r fb00fb7cb201 test-data/input.bam Binary file test-data/input.bam has changed diff -r 000000000000 -r fb00fb7cb201 test-data/input.vcf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/input.vcf Wed Apr 27 06:34:22 2022 +0000 @@ -0,0 +1,30 @@ +##fileformat=VCFv4.2 +##FILTER= +##fileDate=20220204 +##source=freeBayes v1.3.2-dirty +##reference=reference/ref.fa +##contig= +##phasing=none +##commandline="freebayes -p 2 -P 0 -C 2 -F 0.05 --min-coverage 10 --min-repeat-entropy 1.0 -q 13 -m 60 --strict-vcf -f reference/ref.fa snps.bam --region NC_045512.2:0-2772" +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##bcftools_viewVersion=1.13+htslib-1.13 +##bcftools_viewCommand=view --include 'FMT/GT="1/1" && QUAL>=100.0 && FMT/DP>=10 && (FMT/AO)/(FMT/DP)>=0.9' snps.raw.vcf; Date=Fri Feb 4 01:38:26 2022 +##bcftools_annotateVersion=1.13+htslib-1.13 +##bcftools_annotateCommand=annotate --remove ^INFO/TYPE,^INFO/DP,^INFO/RO,^INFO/AO,^INFO/AB,^FORMAT/GT,^FORMAT/DP,^FORMAT/RO,^FORMAT/AO,^FORMAT/QR,^FORMAT/QA,^FORMAT/GL; Date=Fri Feb 4 01:38:27 2022 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT sars_cov_2_omicron_SRR17309642_R1_25k_fastq_gz +NC_045512.2 3037 . C T 338.161 . AB=0;AO=11;DP=11;QA=418;QR=0;RO=0;TYPE=snp GT:DP:RO:QR:AO:QA:GL 1/1:11:0:0:11:418:-37.9727,-3.31133,0 +NC_045512.2 14408 . C T 494.13 . AB=0;AO=15;DP=15;QA=570;QR=0;RO=0;TYPE=snp GT:DP:RO:QR:AO:QA:GL 1/1:15:0:0:15:570:-51.6429,-4.51545,0 +NC_045512.2 23403 . A G 716.256 . AB=0;AO=22;DP=22;QA=836;QR=0;RO=0;TYPE=snp GT:DP:RO:QR:AO:QA:GL 1/1:22:0:0:22:836:-75.5656,-6.62266,0 diff -r 000000000000 -r fb00fb7cb201 test-data/output_frag.dat diff -r 000000000000 -r fb00fb7cb201 test-data/output_haplotype.out diff -r 000000000000 -r fb00fb7cb201 test-data/output_haplotype.out.phased.vcf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/output_haplotype.out.phased.vcf Wed Apr 27 06:34:22 2022 +0000 @@ -0,0 +1,34 @@ +##fileformat=VCFv4.2 +##FILTER= +##fileDate=20220204 +##source=freeBayes v1.3.2-dirty +##reference=reference/ref.fa +##contig= +##phasing=none +##commandline="freebayes -p 2 -P 0 -C 2 -F 0.05 --min-coverage 10 --min-repeat-entropy 1.0 -q 13 -m 60 --strict-vcf -f reference/ref.fa snps.bam --region NC_045512.2:0-2772" +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##bcftools_viewVersion=1.13+htslib-1.13 +##bcftools_viewCommand=view --include 'FMT/GT="1/1" && QUAL>=100.0 && FMT/DP>=10 && (FMT/AO)/(FMT/DP)>=0.9' snps.raw.vcf; Date=Fri Feb 4 01:38:26 2022 +##bcftools_annotateVersion=1.13+htslib-1.13 +##bcftools_annotateCommand=annotate --remove ^INFO/TYPE,^INFO/DP,^INFO/RO,^INFO/AO,^INFO/AB,^FORMAT/GT,^FORMAT/DP,^FORMAT/RO,^FORMAT/AO,^FORMAT/QR,^FORMAT/QA,^FORMAT/GL; Date=Fri Feb 4 01:38:27 2022 +##FORMAT= +##FORMAT= +##FORMAT= +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT sars_cov_2_omicron_SRR17309642_R1_25k_fastq_gz +NC_045512.2 3037 . C T 338.161 . AB=0;AO=11;DP=11;QA=418;QR=0;RO=0;TYPE=snp GT:DP:RO:QR:AO:QA:GL:PS 1/1:11:0:0:11:418:-37.9727,-3.31133,0:. +NC_045512.2 14408 . C T 494.13 . AB=0;AO=15;DP=15;QA=570;QR=0;RO=0;TYPE=snp GT:DP:RO:QR:AO:QA:GL:PS 1/1:15:0:0:15:570:-51.6429,-4.51545,0:. +NC_045512.2 23403 . A G 716.256 . AB=0;AO=22;DP=22;QA=836;QR=0;RO=0;TYPE=snp GT:DP:RO:QR:AO:QA:GL:PS 1/1:22:0:0:22:836:-75.5656,-6.62266,0:.