Comments (13)
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.
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.
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.
The gff3 problem in file i is resolved by the latest commit. The file ii is just ignored.
from ribotish.
More tests are needed. I'll make a new release after the 3' end profile is added.
from ribotish.
Yep, works for me. Thanks!
from ribotish.
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.
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.
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.
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.
from ribotish.
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.
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.
@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.
@dgelsin I am glad to hear that! Congratulations!
from ribotish.
@zhpn1024 Great!
@dgelsin Should we call it a closed issue?
from ribotish.
Related Issues (20)
- what the types of TisType mean? HOT 2
- ribotish tisdiff error?ZeroDivisionError: integer division or modulo by zero HOT 10
- --altcodons ACG,CUG
- ribotish quality: error: argument -d: expected one argument HOT 2
- ribotish quality "no reads found" for TIS reads HOT 10
- TypeError: '>=' not supported between instances of 'NoneType' and 'float' HOT 3
- TypeError: unsupported operand type(s) for +=: 'NoneType' and 'int' HOT 5
- run mistakes HOT 4
- TypeError: '<' not supported between instances of 'NoneType' and 'int' when running predict module HOT 5
- The meaning and differences in TisType HOT 10
- Wrong CDS annotation HOT 6
- No reads found! HOT 52
- AttributeError: 'Exp' object has no attribute 'sq' HOT 4
- Use of 5' mismatch reads in predict HOT 1
- ribotish predict module run error HOT 2
- TypeError: unsupported operand type(s) for +=: 'NoneType' and 'int' HOT 7
- Empty sequence error HOT 2
- Encountered error when using ribotish predict HOT 2
- Why does ribotish call so many ORFs compared to price and ribocode HOT 6
- Not working with stringtie custom GTF HOT 5
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 ribotish.