Giter Site home page Giter Site logo

Comments (10)

pongorlorinc avatar pongorlorinc commented on May 27, 2024

Hi Zoe-github2!

Based on your BAM file in the third figure, it seems that the reads were aligned to the transcriptome, and not to the genome. To my knowledge, TPMcalculator works with genome-aligned RNA-seq.

If the input alignments would be from the genome aligned BAM instead of the transcriptome, then it should be able to quantify the expression.

Best wishes,
Lorinc

from tpmcalculator.

 avatar commented on May 27, 2024

from tpmcalculator.

pongorlorinc avatar pongorlorinc commented on May 27, 2024

Thanks for the update. I see you used the TranscriptomeSAM option which also generates the transcriptome based BAM file.

Did you run TPMcalculator with the transcriptome or genome aligned BAM? To my understanding, there should be 2 separate BAM files based on your STAR command.

Best wishes,
Lorinc

from tpmcalculator.

 avatar commented on May 27, 2024

from tpmcalculator.

pongorlorinc avatar pongorlorinc commented on May 27, 2024

Hi Zoe,

A small followup question. Are the missing chromosomes part of the genome fasta file?

If you run a
grep ">" genome.fasta

It should output all fasta entries (where genome.fasta is the path to the fasta file).

Best wishes,
Lorinc

from tpmcalculator.

r78v10a07 avatar r78v10a07 commented on May 27, 2024

Hi Zoe,
As Lorinc commented, the BAM file you showed here uses different reference name than your FASTA and GTF, see third column in the BAM file which starts with Tra....

TPMCalculator build a gene model from the GTF using the first column of the GTF as the reference name (chromosome ins this case). Then, the tool assign the reads using the reference name (third column in the BAM file) to the right position on the chromosome.

You need to be sure the BAM files uses as reference the same names that are in the GTF otherwise TPMCalculator won't be able to process the reads.

You can run these commands to see the references on each file:

GTF:

awk '{print $1}' combined.gtf | sort -u

Fasta:

grep "^>" genome.fasta | awk '{print $1}' | cut -c 2-

BAM:

samtools view bamfile.bam | awk '{print $3}' | sort -u

Please, let us know if you need more help.

from tpmcalculator.

sumin5784 avatar sumin5784 commented on May 27, 2024

Hello,

I think I'm having similar issue.
What exactly the expected output of TPMCalculator is?
Could you specify number out output files and formats?
Or do I have to specify output, like output.txt?

Here's my command, I tried both RefSeq gtf file and UCSC gtf file.

TPMCalculator -g ${hg19genome} -d ${dir}/${Sample} -b ${BAM} -c ${ReadLength}

Regards,
Sumin

from tpmcalculator.

dashan1928 avatar dashan1928 commented on May 27, 2024

Hello,

I think I'm having similar issue too.

Chromosome with name: xxx does not exist
Here's my command.

TPMCalculator -g xx.gtf -d ${dir/xx.sorted.bam}
Regards,
zhaoshan

from tpmcalculator.

r78v10a07 avatar r78v10a07 commented on May 27, 2024

Please, send sample of the GTF and BAM as the original reporter did.

from tpmcalculator.

SZ-yang avatar SZ-yang commented on May 27, 2024

hello,
I am having the same issue: Chromosome with name: xxx does not exist
here is my sorted.bam file and gtf file
SRR8427257.gtf.zip
image
I do the following things and check the reference name of gtf file and bam file and they are the same

from tpmcalculator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.