Skip to content

Speed up extract_tracts.py step for large vcf #44

@tulsi92

Description

@tulsi92

I am currently running the extract_tracts.py step just on chr19 broken down into 4cM chunks. There are >30k individuals in the VCF and still ~500k variants in each chunk so it is taking a long time to run. It has been running for a few days already and is not even halfway through the variants. Just wondering if it should be taking this long and if there is there any way to speed this step up?

Example of code I am running below in case any of the output params are slowing it down:

python3 extract_tracts.py \
    --vcf hg38_chr19.chunk_chr19_37780539-41942739.phased.vcf.gz \
    --msp hg38_chr19.msp \
    --num-ancs 5 \
    --output-dir output/19 \
    --output-vcf \
    --compress-output

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