Comments (8)
What does samtools view -H your_file.bam | grep chr1_CT_converted
show? What about grep chr1_CT_converted your_fasta_file
?
from methyldackel.
samtools view -H MUP_merged_sorted.bam | grep chr1_CT_converted
@sq SN:chr1_CT_converted LN:197195432
grep chr1_CT_converted mm9.fa
#returns nothing
(as a side note: the reference genome is within the same folder as the output of bismark_genome_preparation with the CT_conversion.fa and GA_conversion.fa files. Even when I use the conversion fasta files, I get the same error)
from methyldackel.
It looks like you're using an intermediate file created by bismark rather than what should be the final one. The final BAM file should contain chromosome names like chr1
and chr2
.
from methyldackel.
thank you for pointing that out. I will go ahead and double check that.
Thank you for your time and help!
from methyldackel.
I got a similar warning:
faidx_fetch_seq returned -2 while trying to fetch the sequence for tid chr1:999998-2000000!
Note that the output will be truncated!
[E::faidx_adjust_position] The sequence "chr1" not found
fasta and bam:
samtools view -H my.sorted.bam | grep "chr1"
@SQ SN:chr1 LN:248956422
@SQ SN:chr10 LN:133797422
@SQ SN:chr11 LN:135086622
@SQ SN:chr12 LN:133275309
cat GRCh38.primary_assembly.genome.fa | grep ">"
>chr1 1
>chr2 2
>chr3 3
from methyldackel.
If you look through the .fai file, is there a chr1
entry?
from methyldackel.
cat GRCh38.primary_assembly.genome.fa.fa
i | grep chr1
chr1 248956422 8 60 61
chr10 133797422 1702798442 60 61
chr11 135086622 1838825832 60 61
chr12 133275309 1976163908 60 61
chr13 114364328 2111660483 60 61
from methyldackel.
Odd, try recreating the fasta index, maybe that will help.
from methyldackel.
Related Issues (20)
- Genome browsing from MethylDackel bedGraphCpG file
- per-fragment methylation HOT 2
- mbias result is different between bismark and bwameth output HOT 1
- CURL_OPENSSL conflict with samtools HOT 3
- Installation failure: "bigWig.h: No such file or directory" HOT 1
- Clarification on definition of "unmethylated C" HOT 1
- Coverage of C sites HOT 1
- mbias HOT 1
- Does indel effect the methylation calling or C context determination HOT 1
- Positions in cytosine_report did not match the regions in providing bed file
- about M-bias HOT 1
- Could not repeat a CpG extraction with the same reference file and its index
- Mixed up reads within bam file
- How to index genome file for MethylDackel? HOT 1
- Confused regarding CTOT, CTOB. Are there suggested values? HOT 3
- Issue running MethylDackel extract in parallel mode using minConversionEfficiency
- Question about minimum coverage
- Different CpG calls when using different regions of inclusion for Methyldackel extract
- Alignment trimming for Soft Clip reads?
- Can MethylDackel extract per-base methylation metrics for TAPS?
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 methyldackel.