Hi, I got the .fasta genome from my labmate . I downloaded new fasta and gff files from the same website http://tritrypdb.org/common/downloads/Current_Release/TbruceiTREU927/fasta/data/
Here's how the fasta looks like
>11L3_v3 | organism=Trypanosoma_brucei_TREU927 | version=2013-08-28 | length=63482 | SO=contig
AAAACTGGCACGATACAACATCCCACTTTCCGCCCATCATGGCACTGTTTCAGGAACTCC
TCAAGCTTGGTGACCAAAGAACCCTTCTCATCGAACACATCCAACACACAGAATTGGGCC
CGTATCCCAGGAGGGTTCTTGTCGTGAGGAACAACCTTTATACTTAATCCCTTGGTAATG
GAGTAGCGTGCAGCAGCCTCCGCCACCGCCTCCAAGCAACAGTCCGTCATGAACAGCAGC
TTCGGTTGGTGAGCCCTCCACTTGTGAAGGTCCCCACCGCGACCCGAACACAGGTCAGCC
ACCACCATACCATCGTTGTCAAACTCACCGCCCTTATTATTCGACCTCAGGTAAGAAACA
GAGGTGCTAATCAGTACGCCTTTTATCCAGTTGTTGTAATGCCGTAGAATGCTACGATTC
TTTCCCGTTGATAGTTCCTTCGTTTTGCAAGCGTAATGTGCATTTACTTGCTCCACTTGT
............
>tryp_IXb-277d03.p1c | organism=Trypanosoma_brucei_TREU927 | version=2013-08-28 | length=13947 | SO=contig
TGAAAATTGTTGAACAACTTAATGAGTAGTATTTGGTTTCATTTCCATTAATTTTGAATA
TATATTACCTTGTATTGCTCTATACACTTCCATTTCTTATTCTCTCATTAATAATACTTA
CCTGCTGAACTTTCATATATAATATACTTGAGTTATGTGTTAAGGCTTTCTCTCTGCTAC
CTTTCTCTAATTATATGGAGTTTGTATCCTTATATGTTTTTCCCCCTTAGCTGTATGCTT
ATATGCGTTGTGTATGTGTTTATGTTGTGCATTATTGTGAAGTGTGTAGATCCTTCTTGT
GCATATATTCTATATTGTCAGCTTTGTAATCACTTTATATATCCTTTCTTTTTATTTTTT
GATTAATAACCTTTTTCTTTTCTGTAACATGGTACGGACGGTAAGTGATGATTCGCATAT
CAGTAGTTATGTGAAGTGTCAATTTTTTCTTTGTTCGAGTATATGTATATGTATATATCG
TGCAGACGTAGCGTATTATGTGTTGATATGTTGTATTTGGATAAATCAGGCAGGTGTTAC
GGCCTCCATGTGTTTGTTTTATAATATGTTTTTGTTAATATTGATCGTAAGGGAATATGG
CGATACGATGTTACTTTCGTGTTGCTGTGTTATTATACTGAGGGTTACTGTGTCAACCCC
TTCATCACCTGTATATGAATAAATAAATAAATAAATGTATATATATATGTTCGCTTGTCA
AATTCACTATTTCTCATTTTCTTCTTATTAGTGTGTTAGACAAAAGGAAGGAATATATTT
ATGTTGTTACTTGTGTGTTGTGCATGTGTGTGCTGACTAACAATAGTGTTGCACTATATA
ATTCGTTTTGTCGTTGAGGATGTTTTGTACAAAAAAATAGTTTCATTTCAGTAATATGAT
and the gff file
##gff-version 3
##feature-ontology so.obo
##attribute-ontology gff3_attributes.obo
##sequence-region 11L3_v3 1 63482
##sequence-region 5K5_v5.1 1 158740
##sequence-region GTRYP_4071_4094-1a01.w2k4071 1 18466
##sequence-region TP26M21-2a10.p1k_v5.1 1 39798
##sequence-region TP26P4-1a02.q1ka 1 16439
##sequence-region TP26P4-3b07.q1k 1 56260
##sequence-region TP26P4-5g04.p1k 1 13060
##sequence-region TP26P4-6c09.p1k 1 25080
##sequence-region TP29O12a-1b01.p1k 1 29117
##sequence-region TP3F6-6f06.p1k 1 26266
##sequence-region TP3F6-6h01.p1k 1 13990
##sequence-region TPB1C9-1a08.q1k 1 11334
##sequence-region Tb927_01_v5.1 1 1064672
##sequence-region Tb927_02_v5.1 1 1193948
##sequence-region Tb927_03_v5.1 1 1653225
##sequence-region Tb927_04_v5.1 1 1590432
##sequence-region Tb927_05_v5.1 1 1802303
I Iook at the fasta and the name starts something like >11L3_v3. and the ##sequence-region in gff is also 11L3_v3. Does this mean that they are compatible and I can use both file for mapping and annotating? Just to make sure that I have the correct fles before I start again. And which software do you suggest for aligning. I have BWA and BOWTIE installed. My reads are in colourspace so I have .csfasta and .qual read files.
Thank you so much for your help.
Off topic question. I'm new at this website. Do I need to rate or choose the best answer or something similar in this website?
Miss
>here?And can you share the url to where you download the gff file? So people can help you.
It would be helpful if you posted a few lines of the GFF file surrounding the line that's causing errors. It's possible that the line is simply incorrect.
This is snaphot of the .gff file.
First error:
I have read somewhere that I need to specify the id name and I redo my htseq-count using:
The second error :
This is where the fasta sequence starts. I compared with other .gtf files and they don't have the fasta sequence so I removed the whole fasta sequence.
The gff file now is able to be proceessed but I'm getting all 0s for my reads.
This is where i get my .gff file http://tritrypdb.org/common/downloads/Current_Release/TbruceiTREU927/gff/data/
Try removing the Fasta portion of the file. That will likely fix the problem (at least it did for me). While including fasta in a GFF file is technically allowed, a lot of things will break if that's done.
Edit: I should add that I'm apparently using version 7 of that annotation file, rather than version 4 (I just tried the one you linked to). However, trying the older version that you used produced the error you received which was cured by, again, removing the fasta section.
Hi, I managet to make the .gff to work by removing the fasta section . However, when i run htseq-count, I only get 0s for my counts
See my reply to your reply to Michael, below.
Hi,
Thank you for the suggestions.
I am not sure how or where should I look at to check if my sam file is compatible with the .gff file.
Below is my SAM file that i get using BOWTIE
I tried to use cufflinks as you suggested using this command:
it returned me two files :
gene_fpkm_tracking
and
isoforms.fpkm_tracking
Again I'm not sure what am I supposed to look for and in these files to see whether the inputs files I provided are correct . I would really appreciate if you could help
That's not compatible. Any mapped reads would be mapped to a contig called
2, but that's not the name of anything in the GFF file.I'm sorry but I could not understand what does it mean. I have zero background in analysing this sort of data and I'm very new in programming.
Could you suggest what can I do to fix this problem?
If you look at your fasta file, you will most likely see header lines starting with ">". There are possibly headers that contain ids like ">2", however the genome annotation in gff contains different ids. The result is that the alignment works, but the counting couldn't determine, where a gene is in relation to the reads, as it cannot know that "2" means the same as GeneDB|Tb427.01.90
If that is the case, however it is odd that cufflinks gives you non-zero FPKM for those genes!
The excerpt from the sam file shows only unmapped reads (Flag 4), the chromosome name would be in column 3 of the SAM file, but the header
@SQ SN:2 LN:14562717reveals that reference sequence name2was used. As I suspect, there is a name mismatch between the reference FASTA file and the genome annotation file. Please see my answer below.If that is the complete line, then something is missing here, a GFF file has 9 columns. Maybe the rest got cut off while pasting into this page? In any case, features of type supercontig or contig are not normally necessary, it should work with having only transcript, exon and gene features.
Also, what is in line 37060?