Ribo-Seq Samtools pileup
0
0
Entering edit mode
11 months ago
mplace ▴ 40

I have the results of samtools mpileup.

ref|NC_001133|  32065   A       17      .....^".^".^".^".^!.^".^".^".^".^".^".^".       
ref|NC_001133|  32066   G       18      ..................      C@1C.1CCCCCCCCCCCC
ref|NC_001133|  32067   A       22      ......................  CC98?C91?CCC;;CCCC;C;C
ref|NC_001133|  32068   T       21      .....................   CCCCCCCCCCCCCCCCCCCCC

What I want to do is use the gene start and stop position in the reference GFF file to create a table of counts across each gene in the genome.

for example:

 gene-1 position1   position2   position3 .....

           17             18           19 

Is there a simple way to convert the mpileup results into a table like this? Thank you,

samtools pileup • 475 views
ADD COMMENT
0
Entering edit mode

Hi Mike! It's jess ;)

I'm not clear on what you are trying to generate. Do you want the per-base coverage value for each gene in the GFF from start codon to stop codon such that the table will have a different number of columns for each gene?

Would bedtools coverage get you close to what you are looking for? https://bedtools.readthedocs.io/en/latest/content/tools/coverage.html

ADD REPLY
0
Entering edit mode

I have mapped Ribo-Seq data and need to see the base coverage across each gene in the GFF. I will check out bedtools.
Thank you.

ADD REPLY

Login before adding your answer.

Traffic: 1612 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6