SEQanswers

SEQanswers (http://seqanswers.com/forums/index.php)
-   Bioinformatics (http://seqanswers.com/forums/forumdisplay.php?f=18)
-   -   Viral genome vs transcripts (http://seqanswers.com/forums/showthread.php?t=30999)

vijesh 06-11-2013 02:17 AM

Viral genome vs transcripts
 
i have a fasta file containing all the virus genome which will affect cassava. i have transcript file also in fasta. in transcript file each transcript have 100 nucleotide length. I want to know whether these transcripts are inside the virus genom. any one help me pls?

dpryan 06-11-2013 04:14 AM

One relatively straight-forward way to attack this problem would be to make a combined fasta file for the viral genomes and cassava and then map the transcripts/transcript fragments against it. You can then get an idea how likely each fragment is to come from the host or virus. I assume that tophat or something like that would be an appropriate aligner, since presumably you have a mixture of host (i.e. spliced) and viral (I assume transcripts would be single exon, but I've only made viruses, not studied them) reads and not doing so might bias things.

I should note that I've never done what you're trying to do, but if no one replies with a better idea then this is enough to get you started.

vijesh 06-11-2013 09:51 PM

doubt regarding tophat
 
Quote:

Originally Posted by dpryan (Post 107311)
One relatively straight-forward way to attack this problem would be to make a combined fasta file for the viral genomes and cassava and then map the transcripts/transcript fragments against it. You can then get an idea how likely each fragment is to come from the host or virus. I assume that tophat or something like that would be an appropriate aligner, since presumably you have a mixture of host (i.e. spliced) and viral (I assume transcripts would be single exon, but I've only made viruses, not studied them) reads and not doing so might bias things.

I should note that I've never done what you're trying to do, but if no one replies with a better idea then this is enough to get you started.

can we put the two files as input in tophat.means that genome file in fasta and also the transcript file?

dpryan 06-12-2013 01:26 AM

Quote:

Originally Posted by vijesh (Post 107395)
can we put the two files as input in tophat.means that genome file in fasta and also the transcript file?

Sort of, I can read a few different meanings into what you wrote so I'll write some pseudo-commands just to ensure that my meaning is clear. Let us assume that your Cassava genome file is called "Cassava.fa" with an annotation file "Cassava.gtf", your virus genome file is called "Viruses.fa", and the transcripts whose origin you're interested in determining are in a file called "reads.fa". The work flow would then be something like the following:

Code:

cat Cassava.fa Viruses.fa > CombinedGenome.fa
bowtie2-build CombinedGenome.fa Combined
tophat -G Cassava.gtf Combined reads.fa

You can then see which reads originated from which chromosome/contig or whichever virus by using samtools view on the resulting accepted_hits.bam file (you'll probably want to filter out reads that map equally to both Cassava and viral genomes, for which you'll probably have to write a program).

It would be good to compare the results with and without using the GTF annotation, off-hand I'm not entirely sure how or if that might bias things.

vijesh 06-14-2013 01:11 AM

viral genom vs transcript
 
i dont have the annotation file(gtf) .i have only the virus genome file (fasta) and transcript file(fasta).....

dpryan 06-14-2013 01:20 AM

You don't actually have to use the annotation file, I expect it might have just made things a bit more reliable (or maybe not, one would have to check).


All times are GMT -8. The time now is 09:07 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.