Comments (3)
Dear Matt
Thank you so much for the rapid answer. You are right, one of the the bam files I was using had an inconsistency with the chromosomes as defined in the vcf header, I didn't realize it.
Thanks again and congratulations for the great tool, it worked perfectly :)
from hiphase.
Hi @GuidoGallo,
So assuming you're on the latest version, it's getting an error at this point in the code:
Line 636 in 9b01d7e
That line is trying to fetch a region in the BAM file. I've never actually encountered an error there before, so I'm going to do some guessing as to what might be causing it, most of which involve a deviation from "normal" processing that is leaving BAMs and/or VCFs in an inconsistent state:
- It looks like you're using multiple BAM files. Is it possible that one or more of the BAM files is missing one or more chromosomes from the dataset? This may be a missing entry in the header. It may also be a chromosome with no alignments to it, I'm not sure what the fetch would do in that instance (if this is the case, we may need to patch it).
- Were the VCFs processed in a way that their chromosome lists do not match the BAM headers? If so, it may be trying to fetch a region from the VCF that does match exist in the BAM.
- Are you able to tell roughly where this is happening in the processing? In other words, is it happening on a "core" chromosome, or is it throwing errors somewhere in an ALT contig or similar? That may help provide some clues if neither of the above is true.
Hope this helps,
Matt
from hiphase.
Great, glad it worked out! I'll make a note to improve the messaging there. Hopefully future users won't encounter a cryptic panic message and instead get something a little more insightful.
from hiphase.
Related Issues (20)
- Poor utilization of threads (maybe user error?) HOT 6
- Error βthread '<unnamed>' panicked at 'assertion failed: `(left == right)`β occurred while HIPhase working HOT 7
- segmentation fault (core dumped) HOT 2
- Encountered max_edit_distance check HOT 6
- Recommendations for input vcf HOT 3
- A question about HP tag HOT 6
- reference letter case issue HOT 2
- Feature request: haplotag in phased VCF files HOT 2
- Running HiPhase with tumor-normal pair HOT 2
- Error while parsing VCF file: FORMAT columns HOT 3
- Expected memory usage HOT 3
- Phase vcf with pre phased reads HOT 6
- Normalization of INDELs: required or should be avoided HOT 3
- [Suggestion] reducing messages to STDOUT to speed up the utility HOT 3
- [Question] information in the filter column of vcfs HOT 2
- [Question] Phasing of rs36056539 in NA19226 HOT 3
- ERROR : 0 matched samples for phasing HOT 2
- possibility to utilize information from phased bam files HOT 4
- gVCF + VCF processing HOT 6
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 hiphase.