Comments (12)
Hi,
what's not to understand about these error messages? The first one suggests that you are using an index number in the -I flag that exceeds the number of haplotypes that are actually in your file. Note that indexing here is 0-based. The second error suggests that you have put multiple chromosome into one file, which is not allowed. You need to separate chromosomes into separate files and give all those files to MSMC on the command line.
Best,
Stephan
from msmc.
from msmc.
Hello there,
I am having almost same problem here. In my case I have separate file for each chromosome. Whenever, I tried to put r and I flag I am getting the following error
`core.exception.RangeError@model/data.d(188): Range violation
??:? _d_arrayboundsp [0x5b5ad2]`
Any help? My sample represents a single population. Should I use I 0,1,4,5 ? Whatever value I put for r and I, I am getting the same error. Without r and I the program runs without any error.
Best regards
Zillur
from msmc.
from msmc.
Thank you very much. I have only snps in my data, no indels. However, if I put "I 0,1" it runs without any error. How can I identify which value I need for my dataset?
Best regards
Zillur
from msmc.
from msmc.
Thank you very much. My command line was :
samtools mpileup -q 20 -Q 20 -C 50 -u -r Pf3D7_01_v3 -f pfal.fa SRR3305693_NoDup_addrplced.bam | bcftools call -c -V indels | /gondor/zillur/thesis/psmc/msmc-tools/bamCaller.py 331.781 chr1.mask.bed.gz | gzip -c > chr1.vcf.gz
/gondor/zillur/thesis/psmc/msmc-tools/generate_multihetsep.py --mask=chr1.mask.bed.gz chr1.vcf.gz > chr1.msmc.input.txt
/gondor/zillur/msmc2/build/release/msmc2 -t 16 -r 0.0115 -I 0,1,4,5 -o test1 chr1.msmc.input.txt
If I run without the "I" flag or "I 0,1" it works.
Just to clarify, the value of r should be mutation rate/recombination rate, right?
Best regards
Zillur
chr1.mask.bed.gz
chr1.msmc.input.txt
chr1.vcf.gz
from msmc.
Thank you very much. My command line was :
samtools mpileup -q 20 -Q 20 -C 50 -u -r Pf3D7_01_v3 -f pfal.fa SRR3305693_NoDup_addrplced.bam | bcftools call -c -V indels | /gondor/zillur/thesis/psmc/msmc-tools/bamCaller.py 331.781 chr1.mask.bed.gz | gzip -c > chr1.vcf.gz /gondor/zillur/thesis/psmc/msmc-tools/generate_multihetsep.py --mask=chr1.mask.bed.gz chr1.vcf.gz > chr1.msmc.input.txt /gondor/zillur/msmc2/build/release/msmc2 -t 16 -r 0.0115 -I 0,1,4,5 -o test1 chr1.msmc.input.txt
If I run without the "I" flag or "I 0,1" it works.
Just to clarify, the value of r should be mutation rate/recombination rate, right?
Best regards
Zillur
chr1.mask.bed.gz
chr1.msmc.input.txt
chr1.vcf.gz
Thank you very much. I have only snps in my data, no indels. However, if I put "I 0,1" it runs without any error. How can I identify which value I need for my dataset?
Best regards
Zillur
Hi ,Zillur ,
Thank you very much. I have only snps in my data, no indels. However, if I put "I 0,1" it runs without any error. How can I identify which value I need for my dataset?
Best regards
Zillur
Hi, Zillur ,I am getting the same error with you.How do you solve this problem?
Thank you very much. I have only snps in my data, no indels. However, if I put "I 0,1" it runs without any error. How can I identify which value I need for my dataset?
Best regards
Zillur
Hi, Zillur ,I am getting the same error with you.How do you solve this problem?
Looking forward to hearing from you .Thank you.
Rilla
from msmc.
Hello Rilla, could share some part of your chr*.msmc.input.txt. Did you try with/without 'I' flag? Running without '-I' was OK for me. Best, Zillur
from msmc.
Hello Rilla, could share some part of your chr*.msmc.input.txt. Did you try with/without 'I' flag? Running without '-I' was OK for me. Best, Zillur
Hello Zillur, I send some part of my chr*.msmc.input.txt to you . This is no phased diploid genomes. The probelm is itcan run with 'I' flag if I put "I 0,1" or without the 'I' flag.But it can't run if I use I 0,1,4,5. Why ?
Thanks for your reply. Below is my command and wrong information. Looking forward hearing from you.
Rilla
msmc2 -r 0.00157 -I 0,1 -o msmc.test msmc-input-chr*(success)
msmc2 -r 0.00157 -o msmc.test msmc-input-chr*(success)
msmc2 -r 0.00157 -I 0,1,4,5 -o msmc.test msmc-input-chr*(wrong)
core.exception.RangeError@model/data.d(188): Range violation
??:? _d_arrayboundsp [0x5cfe25]
??:? bool model.data.has_missing_data(const(char[][]), ulong[2]) [0x560f44]
??:? model.data.SegSite_t[][] model.data.readSegSites(immutable(char)[], ulong[2][], bool) [0x560804]
??:? model.data.SegSite_t[][] msmc2.readDataFromFiles(immutable(char)[][], ulong[2][], bool) [0x585295]
??:? void msmc2.parseCommandLine(immutable(char)[][]) [0x5837e2]
??:? _Dmain [0x5830f7]
msmc-input-chr01.txt
msmc-input-chr02.txt
msmc-input-chr03.txt
from msmc.
Hello Rilla, I guess you have only two character in the snp column. AT/CG etc. Maybe that's why it wotk on 0,1 but not more that 1. Best, Zillur
from msmc.
Hello Rilla, I guess you have only two character in the snp column. AT/CG etc. Maybe that's why it wotk on 0,1 but not more that 1. Best, Zillur
Hello Zillur, I get it. Thank you very much. Best, Rilla
from msmc.
Related Issues (20)
- AssertError bootstrap HOT 2
- another Segmentation Fault HOT 1
- error running msmc HOT 2
- running msmc without final result HOT 1
- install error HOT 1
- MSMC running with the divergent individuals HOT 1
- decode time units HOT 3
- Effect of introgression and selfing for estimation of population split HOT 1
- Abnormal results of MSMC, and need help ~ HOT 2
- trying to replicate Fig2 of Schiffels & Durbin (2014) HOT 6
- How to install MSMC HOT 1
- powell exceeding maximum iterations HOT 6
- precompiled binaries not working on macOS Catalina HOT 1
- "The sequence "chr1" was not found" HOT 1
- MSMC2- install error HOT 2
- Error in installing software
- Unexpected 'g' when converting from type char[] to type ulong HOT 7
- AssertionError while using generate_multihetsep.py HOT 1
- using the phased-vcf files as input for MSMC2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msmc.