Comments (5)
You can fix this error by including "--as_q_cutoff 0" as an argument when running phaser.
Note, phaser performs much better when an alignment score cutoff is used. Note that this is distinct from a mapping score or MAPQ. If possible I would suggest using an aligner that outputs an alignment score, which is included as an "AS" tag, such as STAR.
from phaser.
Thanks for getting back. I used bwa mem
for alignment and the AS tag is present in the bam file.
SRR6251266.167696392 97 chr8 10051 60 42M = 149413 139404 ACAAATGTCCTTTACATGTTTTCTGTTACAGTAGTAACAATA AAAAAEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE NM:i:0 MD:Z:42 MC:Z:42M AS:i:42 XS:i:29
Is this not the AS tag I should look for?
I also tried using the --as_q_cutoff 0
argument but get an error:
....
minimum mapq: 60
mapping reads to variants...
completed chromosome chr8...
processing mapped reads...
retrieved 0 reads
#3. Identifying connected variants...
calculating sequencing noise level...
FATAL ERROR: No reads could be matched to variants. Please double check your settings and input files. Common reasons for this occurring include: 1) MAPQ or BASEQ set too conservatively 2) BAM and VCF have different chromosome names (IE 'chr1' vs '1')
....
I will try mapping with STAR and see if things change.
from phaser.
You're right that the AS tag is present in the BAM, so I'm confused as to the why the AS score wasn't getting picked up. As for the fact that 0 reads are getting processed, can you confirm that your VCF naming matches the BAM naming, e.g. "chr1" is listed in the first column of the VCF. If the VCF simply has "1" you can run phaser with the option "--chr_prefix chr" which should fix that.
As for the AS problem, is there any way you could provide a sample BAM so that I could debug the issue you are having? Were you able to try with STAR aligned reads?
from phaser.
For other people who might still be getting this using GATK for variant calling.
The GATK4 RNASeq pipeline recommends a CIGAR split step and I think that is causing some issues with the bam files used in Phaser.
If I used the STAR aligned, deduplicated but not CIGAR N split bam file with my GATK4 derived vcf I was able to use Phaser without getting this error.
Ben
from phaser.
Getting this error as well, pretty mysteriously for only 1 out of my BAMs. Edit: actually, turns out my error is because the BAM is not paired end and I set paired_end = 1
from phaser.
Related Issues (20)
- FATAL ERROR: No heterozygous sites that passed all filters were included in the analysis HOT 19
- phaser_gene_ae output with 0 Count? HOT 1
- Retrieve parent of origin for haplotypes HOT 1
- Advice on how to run phASER with RNA-seq data only and posed genotypes of parents HOT 1
- what kind of vcf file i can use?
- phASER error
- question regarding input vcf HOT 4
- Error running phaser HOT 3
- version of phaser on github
- software is suitable for ChIP-seq data HOT 4
- Issues with phaser-pop HOT 2
- Container HOT 3
- phaser.py requires pysam HOT 1
- trying to locate phASER_GTEx_v8_merged.vcf.gz for phaser_cis_var.py (phaser-pop)
- Error in using phaser_gene_ae.py HOT 6
- parameter '--no_gw_phase 0' HOT 2
- phaser annotate module is still py2.7? HOT 3
- Recommendations for running phaser with just the rnaseq data HOT 3
- phaser_cis_var.py HOT 1
- Issue in function split_read
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 phaser.