Giter VIP home page Giter VIP logo

Comments (13)

zhpn1024 avatar zhpn1024 commented on July 19, 2024 1

Yes. I am sending the files.

i. annot.gff is the original file gff3 obtained from NCBI. Refseq ftp. It fails.
ii. annot-gff2.gtf is file i. converted to gtf using rtracklayer. It fails.
iii. annot.gtf is file i. converted to gtf using AGAT. It works.

annots.zip

The problem is that your gff3 file is gene-CDS instead of gene-transcript-CDS structure. My code did not find any transcripts in a gene, so nothing is processed. I'll try to solve it.

from ribotish.

zhpn1024 avatar zhpn1024 commented on July 19, 2024 1

Yes. I am sending the files.

i. annot.gff is the original file gff3 obtained from NCBI. Refseq ftp. It fails.
ii. annot-gff2.gtf is file i. converted to gtf using rtracklayer. It fails.
iii. annot.gtf is file i. converted to gtf using AGAT. It works.

annots.zip

The gff3 problem in file i is resolved by the latest commit. The file ii is just ignored.

from ribotish.

zhpn1024 avatar zhpn1024 commented on July 19, 2024 1

@zhpn1024 Great!
@dgelsin Should we call it a closed issue?

More tests are needed. I'll make a new release after the 3' end profile is added.

from ribotish.

dgelsin avatar dgelsin commented on July 19, 2024 1

Yep, works for me. Thanks!

from ribotish.

zhpn1024 avatar zhpn1024 commented on July 19, 2024

It may be a problem of gff annotation support. I have some updates in github recently. It is not officially released yet. Get the latest code by git clone and try again.

from ribotish.

alanlorenzetti avatar alanlorenzetti commented on July 19, 2024

I was also trying to analyze prokaryotic Ribo-Seq data:

ribotish quality -b bamfile.bam -g genomefile.gtf -p 20

Output was exactly the same:
Counted reads: 0 Error: no reads found! Check read length or protein coding annotation.

It turns out it was failing because of the annotation file—

  • Failed using NCBI RefSeq gff3
  • Failed using NCBI RefSeq gff3 converted to gtf (gff2) using Bioconductor rtracklayer::export function

Converting the NCBI RefSeq gff3 file to gtf (gtf v3) using AGAT solved the issue.

I am using ribotish v0.2.5

from ribotish.

zhpn1024 avatar zhpn1024 commented on July 19, 2024

I was also trying to analyze prokaryotic Ribo-Seq data:

ribotish quality -b bamfile.bam -g genomefile.gtf -p 20

Output was exactly the same:
Counted reads: 0 Error: no reads found! Check read length or protein coding annotation.

It turns out it was failing because of the annotation file—

  • Failed using NCBI RefSeq gff3
  • Failed using NCBI RefSeq gff3 converted to gtf (gff2) using Bioconductor rtracklayer::convert function

Converting the NCBI RefSeq gff3 file to gtf (gtf v3) using AGAT solved the issue.

I am using ribotish v0.2.5

It may be because ribotish fail to extract coding information from your gff.
Could you provide a piece of example for coding transcripts in your gff annotation file?

from ribotish.

alanlorenzetti avatar alanlorenzetti commented on July 19, 2024

Yes. I am sending the files.

i. annot.gff is the original file gff3 obtained from NCBI. Refseq ftp. It fails.
ii. annot-gff2.gtf is file i. converted to gtf using rtracklayer. It fails.
iii. annot.gtf is file i. converted to gtf using AGAT. It works.

annots.zip

from ribotish.

dgelsin avatar dgelsin commented on July 19, 2024

I was also trying to analyze prokaryotic Ribo-Seq data:

ribotish quality -b bamfile.bam -g genomefile.gtf -p 20

Output was exactly the same:
Counted reads: 0 Error: no reads found! Check read length or protein coding annotation.

It turns out it was failing because of the annotation file—

  • Failed using NCBI RefSeq gff3
  • Failed using NCBI RefSeq gff3 converted to gtf (gff2) using Bioconductor rtracklayer::export function

Converting the NCBI RefSeq gff3 file to gtf (gtf v3) using AGAT solved the issue.

I am using ribotish v0.2.5

I wasn't able ever to get ribotish to work with a ribosome profiling data set on an Archaea, but it sounds like this may have been the problem. Thanks for the solution!

In case you are interested, I ended up making a program to analyze bacterial and archaeal data called mRibo, which can be found here: https://github.com/dgelsin/mRibo

from ribotish.

alanlorenzetti avatar alanlorenzetti commented on July 19, 2024

That is great! I will definitely try it. By the way, I have seen your preprint on Hvol Ribo-Seq and I am learning a lot from it. I am assuming you made this program to get those results. Hopefully it will be published soon. Cheers.

from ribotish.

dgelsin avatar dgelsin commented on July 19, 2024

@alanlorenzetti Thanks! Yes this program is what I made to analyze the data in that paper. It actually was just accepted in NAR and will be out soon with a few more updates compared to the preprint.

from ribotish.

alanlorenzetti avatar alanlorenzetti commented on July 19, 2024

@dgelsin I am glad to hear that! Congratulations!

from ribotish.

alanlorenzetti avatar alanlorenzetti commented on July 19, 2024

@zhpn1024 Great!
@dgelsin Should we call it a closed issue?

from ribotish.

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.