Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty "transcripts_cds.txt" file #46

Open
huguanjing opened this issue Jun 8, 2022 · 1 comment
Open

Empty "transcripts_cds.txt" file #46

huguanjing opened this issue Jun 8, 2022 · 1 comment

Comments

@huguanjing
Copy link

Hi, the "transcripts_cds.txt" file generated is empty, how should I fix it? Thanks!

Here is GTF

A01	phytozomev13	gene	34694907	34695456	.	-	.	gene_id "Gohir.A01G126666.v2.1"; gene_name "Gohir.A01G126666.v2.1";
A01	phytozomev13	transcript	34694907	34695456	.	-	.	gene_id "Gohir.A01G126666.v2.1"; gene_name "Gohir.A01G126666.v2.1"; transcript_id "Gohir.A01G126666.1.v2.1";
A01	phytozomev13	exon	34694907	34695456	0	-	.	gene_id "Gohir.A01G126666.v2.1"; transcript_id "Gohir.A01G126666.1.v2.1"; Name "Gohir.A01G126666";
A01	phytozomev13	gene	119528395	119531897	.	+	.	gene_id "Gohir.A01G229700.v2.1"; gene_name "Gohir.A01G229700.v2.1";
A01	phytozomev13	transcript	119528395	119531897	.	+	.	gene_id "Gohir.A01G229700.v2.1"; gene_name "Gohir.A01G229700.v2.1"; transcript_id "Gohir.A01G229700.1.v2.1";
A01	phytozomev13	exon	119528395	119528785	0	+	.	gene_id "Gohir.A01G229700.v2.1"; transcript_id "Gohir.A01G229700.1.v2.1"; Name "Gohir.A01G229700";
A01	phytozomev13	exon	119528884	119529005	0	+	.	gene_id "Gohir.A01G229700.v2.1"; transcript_id "Gohir.A01G229700.1.v2.1"; Name "Gohir.A01G229700";
A01	phytozomev13	exon	119529125	119529262	0	+	.	gene_id "Gohir.A01G229700.v2.1"; transcript_id "Gohir.A01G229700.1.v2.1"; Name "Gohir.A01G229700";
A01	phytozomev13	exon	119529365	119529507	0	+	.	gene_id "Gohir.A01G229700.v2.1"; transcript_id "Gohir.A01G229700.1.v2.1"; Name "Gohir.A01G229700";
A01	phytozomev13	exon	119529601	119529736	0	+	.	gene_id "Gohir.A01G229700.v2.1"; transcript_id "Gohir.A01G229700.1.v2.1"; Name "Gohir.A01G229700";

And here is the script

(ribocode) [hugj2006@bigram2 translatome2022]$ prepare_transcripts -g td1.gtf -f ../cottonLeaf/refGenomes/TM1utx_26.fasta -o RiboCode_annot
[2022-06-08 05:12:58] Preparing annotation files ...
	Loading transcripts.pickle ...
[2022-06-08 05:13:09] The step of preparing transcript annotation has been completed.
(ribocode) [hugj2006@bigram2 translatome2022]$ 
(ribocode) [hugj2006@bigram2 translatome2022]$ ls -lh RiboCode_annot/
total 166M
-rw-rw-r--+ 1 hugj2006 domain users    0 Jun  8 04:53 transcripts_cds.txt
-rw-rw-r--+ 1 hugj2006 domain users  71M Jun  8 04:53 transcripts.pickle
-rw-rw-r--+ 1 hugj2006 domain users 186M Jun  8 04:53 transcripts_sequence.fa
@zhengtaoxiao
Copy link
Member

There are no CDS regions in your GTF file. RiboCode infers the P-site based on the reads mapping to the known CDS regions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants