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

What is the cause of the problem Assertion `rdp == (ind_number[file]*2 failed when using phase_common_static? #114

Open
thierrygrange opened this issue Dec 28, 2024 · 0 comments

Comments

@thierrygrange
Copy link

thierrygrange commented Dec 28, 2024

Dear colleague

I have started a phasing project using 482 genomes and dividing the bcf by chromosomes using phase_common_static from shapeit 5 (Version : 5.1.1 / commit = 990ed0d / release = 2023-05-08) on a Ubuntu 22.04 server. The project stopped after about 15 minutes with the following message:
phase_common_static: src/utils/xcf.h:430: int32_t xcf_reader::readRecord(uint32_t, char**): Assertion `rdp == (ind_number[file]*2)' failed.
Abandon (core dumped)

I don't understand the meaning of the message and what I should modify to avoid it. Any clues?

Thanks

Thierry

The command I used was
END=19
for ((i=1;i<=END;i++)); do
BCF=Input_chr$i.bcf
OUT=Out_phased_chr$i.bcf
MAP=MySpecies_Chr$i.gmap.gz
phase_common_static --input ${BCF} --region $i --map ${MAP} --output ${OUT} --thread 8 --log Mylog_phased_chr$i.log
done

The full log info of one of the chromosome was:
[SHAPEIT5] phase_common (jointly phase multiple common markers)

  • Author : Olivier DELANEAU, University of Lausanne
  • Contact : [email protected]
  • Version : 5.1.1 / commit = 990ed0d / release = 2023-05-08
  • Run date : 28/12/2024 - 22:40:53

Files:

  • Input : [Inout_chr18.bcf]
  • Genetic Map : [MySpecies_Chr18.gmap.gz]
  • Output : [Out_phased_chr18.bcf]
  • Output format : [bcf]
  • Output LOG : [Mylog_phased_chr18.log]

Parameters:

  • Seed : 15052011
  • Threads : 8 threads
  • MCMC : 15 iterations [5b + 1p + 1b + 1p + 1b + 1p + 5m]
  • PBWT : [window = 4cM / depth = auto / modulo = auto / mac = 5 / missing = 0.1]
  • HMM : [window = 4cM / Ne = 15000 / Recombination rates given by genetic map]

Reading genotype data:

  • VCF/BCF scanning done (17.95s)
    • Variants [#sites=1592328 / region=18]
    • Samples [#target=482 / #reference=0]
      phase_common_static: src/utils/xcf.h:430: int32_t xcf_reader::readRecord(uint32_t, char**): Assertion `rdp == (ind_number[file]*2)' failed.
      Abandon (core dumped)
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