Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Messy HapSum figure #110

Open
Yexin-Zhang opened this issue Feb 19, 2025 · 0 comments
Open

Messy HapSum figure #110

Yexin-Zhang opened this issue Feb 19, 2025 · 0 comments

Comments

@Yexin-Zhang
Copy link

Hi Authors,

I'm seeking advice on optimizing STITCH parameters for a low-coverage WGS dataset with the following characteristics:

  • ~500 genomes total (3.85X average)
    - 400 samples at 0.5-3X coverage
    - 100 samples at 3-15X coverage
  • All samples should have derived from 13 founders

I've evaluated STITCH's performance using different K values (4, 10, and 26) on two 10Mb chunks. Initial K=26 was chosen based on 13 founders (2 haplotypes each).

Command used:

K_VALUES=(4 10 26)

$STITCH --bamlist $bamlist \
    --sampleNames_file $samplelist \
    --outputdir $OUTPUT_DIR \
    --chr $CHR \
    --regionStart $START \
    --regionEnd $END \
    --buffer 100000 \
    --posfile $WD/region_files/Stitch_positions.region$CHUNK.txt \
    --K $K \
    --nGen 160 \
    --niterations 40 \
    --shuffle_bin_radius 500 \
    --splitReadIterations NA \
    --method pseudoHaploid \
    --switchModelIteration 31 \
    --nCores $SLURM_NTASKS \
    --output_format bgvcf \
    --tempdir $TEMDIR \
    --expRate 1 \
    --plot_shuffle_haplotype_attempts TRUE \
    --plotHapSumDuringIterations FALSE \
    --output_haplotype_dosages TRUE
 
  1. Region 1 HapSum plots for K=4, K=10, K=26:
Image Image Image
  1. Region 2 HapSum plots for K=4, K=10:
Image Image
  1. ShuffleHaplotype plots showed similar patterns across all runs:
Image

Could you help interpret these convergence patterns in the HapSum plots?Are there specific parameters you'd recommend adjusting to improve performance? Thank you for your help.

Best,
Yexin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant