Skip to content

Could not extend the phase block length. #2

@Modernism-01

Description

@Modernism-01

To tool managers,

Thank you very much for creating this helpful tool in phasing. But I can not get the effective results. this is my command:

$pomfret methphase --vcf $vcf $bam --write-bam -t 8 -o $out/AQ01.chr1.pomfret.methphase

the VCF file has been pahsed and BAM file includes the MM/ML and HP/PS tag.

Here I used one chromosome to test the tool, but I found there are no any changes comparing to original phased blocks.

the below is the part of log file:

[M::main] pomfret v0.1-r14
[M::main] CMD: /public/home/zenglingsen/04.software/48.Pomfret/down/pomfret/pomfret methphase --vcf /public/home/zenglingsen/01.data/01.ONT_data/04.Bam_ONT_for_SNP/05.vcf_p
[M::sancheck_cliopt] read coverage not provided, will estimate.
[M::load_intervals_from_file] at ref NC_010443.5
[T::load_intervals_from_file] used 0.7s
[M::blockjoin_parallel] input has 1 references
[M::blockjoin_parallel] loaded phase block gaps.

[M::estimate_read_coverage_dirtyfast] estimate read depths...
[M::estimate_read_coverage_dirtyfast] NC_010443.5 est. coverage is 20
[M::estimate_read_coverage_dirtyfast] NC_010444.4 est. coverage is 0
[M::estimate_read_coverage_dirtyfast] NC_010445.4 est. coverage is 0

[dbg::haplotag_region_given_bam] loaded 0 reads (interval: NC_010443.5:8647889-8671464), left has #ref=42 (strict: 18), right has=46 (strict: 13)
[dbg::haplotag_region_given_bam] mmrconfig: k 3, k_span 5000, lo 100, hi 156; cov_known 0, cov_for_selection 3, cov_for_runtime 6; readlen thre 15000, min_mapq 10
[dbg::haplotag_region_given_bam] parsed meth sites NC_010443.5:8647889-8671464 (k=3 span=5000 cov=3 runtime_cov=6), fwd n=0, bwd n=0
[W::haplotag_region_given_bam] NC_010443.5:8647889-8671464 does not have methmer in both directions. Skipping.
[dbg::haplotag_region_given_bam] loaded 138 reads (interval: NC_010443.5:8776297-8886673), left has #ref=50 (strict: 17), right has=45 (strict: 17)
[dbg::haplotag_region_given_bam] mmrconfig: k 3, k_span 5000, lo 100, hi 156; cov_known 0, cov_for_selection 3, cov_for_runtime 6; readlen thre 15000, min_mapq 10
[dbg::haplotag_region_given_bam] parsed meth sites NC_010443.5:8776297-8886673 (k=3 span=5000 cov=3 runtime_cov=6), fwd n=997, bwd n=997
[M::haplotag_region_given_bam] left ref ratio: 1.41 (valid=0); right ref ratio: 9.00 (valid=0)
[dbg::haplotag_region1] has 45 ref reads
[dbg::evaluate_separation1] n is 17; 0 0 0 0 (hard coverage fail=0)
[dbg::haplotag_region2] (noperm) xxx undecided (un=1, dir1=0, dir2=0)
[dbg::haplotag_region1] has 50 ref reads
[dbg::evaluate_separation1] n is 17; 1 0 0 0 (hard coverage fail=0)
[dbg::haplotag_region2] (noperm) xxx undecided (un=1, dir1=0, dir2=0)
[dbg::haplotag_region_given_bam] fwd join -1, bwd join -1

[dbg::haplotag_region_given_bam] loaded 0 reads (interval: NC_010443.5:269966250-270082097), left has #ref=44 (strict: 9), right has=48 (strict: 16)
[dbg::haplotag_region_given_bam] mmrconfig: k 3, k_span 5000, lo 100, hi 156; cov_known 0, cov_for_selection 3, cov_for_runtime 6; readlen thre 15000, min_mapq 10
[dbg::haplotag_region_given_bam] parsed meth sites NC_010443.5:269966250-270082097 (k=3 span=5000 cov=3 runtime_cov=6), fwd n=0, bwd n=0
[W::haplotag_region_given_bam] NC_010443.5:269966250-270082097 does not have methmer in both directions. Skipping.
[dbg::haplotag_region_given_bam] loaded 0 reads (interval: NC_010443.5:272918145-273083346), left has #ref=42 (strict: 16), right has=42 (strict: 15)
[dbg::haplotag_region_given_bam] mmrconfig: k 3, k_span 5000, lo 100, hi 156; cov_known 0, cov_for_selection 3, cov_for_runtime 6; readlen thre 15000, min_mapq 10
[dbg::haplotag_region_given_bam] parsed meth sites NC_010443.5:272918145-273083346 (k=3 span=5000 cov=3 runtime_cov=6), fwd n=0, bwd n=0
[W::haplotag_region_given_bam] NC_010443.5:272918145-273083346 does not have methmer in both directions. Skipping.

[M::blockjoin_parallel] done, used 89.8s.
[M::output_gtf] wrote gtf (1 refs, total 536 blocks)
[M::main_blockjoin] gtf written.
[M::main_blockjoin] writing vcf...
[T::load_intervals_from_file] used 0.5s
[M::output_modify_vcf] wrote vcf output, (350052 ok + 0 dropped)/357888 lines modified
[M::main_blockjoin] vcf written.
[M::main_blockjoin] bam written. now indexing...
[M::main_blockjoin] bam index written.

So my results did not show any improvement in length of phase block. The pomfret produced the same result like the whatshap phase based on SNPs. I do not know how to do with this. could you help me to solve it?

Look forward to you reply.

Best,

Lingsen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions