Entering edit mode
                    9.7 years ago
        umn_bist
        
    
        ▴
    
    390
    I have PE RNA-seq fastq files that I trimmed, aligned, and deduped, split N_CIGAR, recalibrated. Once I got my bam file, I wanted to make sure it was done correctly, but I see nothing in IGV. I zoomed in, still nothing. I printed the header and it looked fine.
samtools mpileup -Buf /Documents/gencode/GRCh38.p5.genome.fa \
    -l /Documents/plist_hg38.bed /Documents/Projects/120529_0165_L007_tstaidsr.bam |\
    bcftools call -Amv > /Documents/Projects/120529_0165_L007_tstaidsr.vcf
samtools view -H /Documents/Projects/120529_0165_L007_tstaidsr.bam
Output:
@HD    VN:1.5    GO:none    SO:coordinate
@SQ    SN:chr1    LN:248956422
@SQ    SN:chr2    LN:242193529
@SQ    SN:chr3    LN:198295559
@SQ    SN:chr4    LN:190214555
@SQ    SN:chr5    LN:181538259
@SQ    SN:chr6    LN:170805979
@SQ    SN:chr7    LN:159345973
@SQ    SN:chr8    LN:145138636
@SQ    SN:chr9    LN:138394717
@SQ    SN:chr10    LN:133797422
@SQ    SN:chr11    LN:135086622
@SQ    SN:chr12    LN:133275309
@SQ    SN:chr13    LN:114364328
@SQ    SN:chr14    LN:107043718
@SQ    SN:chr15    LN:101991189
@SQ    SN:chr16    LN:90338345
@SQ    SN:chr17    LN:83257441
@SQ    SN:chr18    LN:80373285
@SQ    SN:chr19    LN:58617616
@SQ    SN:chr20    LN:64444167
@SQ    SN:chr21    LN:46709983
@SQ    SN:chr22    LN:50818468
@SQ    SN:chrX    LN:156040895
@SQ    SN:chrY    LN:57227415
@SQ    SN:chrM    LN:16569
@SQ    SN:GL000008.2    LN:209709
@SQ    SN:GL000009.2    LN:201709
@SQ    SN:GL000194.1    LN:191469
@SQ    SN:GL000195.1    LN:182896
@SQ    SN:GL000205.2    LN:185591
@SQ    SN:GL000208.1    LN:92689
@SQ    SN:GL000213.1    LN:164239
@SQ    SN:GL000214.1    LN:137718
@SQ    SN:GL000216.2    LN:176608
@SQ    SN:GL000218.1    LN:161147
@SQ    SN:GL000219.1    LN:179198
@SQ    SN:GL000220.1    LN:161802
@SQ    SN:GL000221.1    LN:155397
@SQ    SN:GL000224.1    LN:179693
@SQ    SN:GL000225.1    LN:211173
@SQ    SN:GL000226.1    LN:15008
... ... ...
As always, thank you for your time and help.
Please follow the steps outlined in the answer to this question. Briefly, pipe the output of
samtools viewintoheadto get the first few alignments. Then zoom to those regions in IGV. Let me know if you still don't see anything.Thanks for your reply. That was actually a post I was looking at. The above output was with
Right, so that's just showing your header. We want to look at the first few alignments without the header. Instead, type this:
Hey, Dan. This is what I get:
OK, so if you load the BAM file and reference in IGV, and you zoom to
chr1:12900-14000, do any alignments appear?I see nothing. I even tried zooming in as much as I can.
EDIT: My posting limit has reached max for 6 hours. I'll have to wait... I hope this edit reaches you.
Note that it's only after I try recalibrating my bases (in GATK) this happens.
Can you please post another screenshot?
My posting limit has reached max for 6 hours. I'll have to wait... I hope this edit reaches you.
Note that it's only after I try recalibrating my bases (in GATK) this happens.
are you sure there are some reads in the zoomed region ?
There are no reads in the zoomed region.
my question was how do you know there are some read here ?
What is the output of
My mistake. I get
when I type
EDIT: Upon closer inspection, the bam file after alignment was done correctly. It was during recalibration with GATK everything disappeared.