alignment of sequencing data to the tRNA transcriptome
0
0
Entering edit mode
8.4 years ago

I have ribosome sequencing data and want to align it to the tRNA (not mRNA transcriptome). I have filtered out rRNA, non-coding RNAs and adapter. also I made tRNA indexes using bowtie2 (I have .bt2 files). now I want to align my data to the tRNA transcriptome. I have tried this command but did not give me BAM file. do you know how to solve the problem.

tophat -n 2 -m 1 --segment-length 25 --no-novel-juncs
--no-novel-indels --no-coverage-search -G gencode.v19.tRNAs.gtf -p 1 -o Ctrl_tophat_out tRNAs Ctrl.fastq.gz
RNA-Seq • 2.9k views
ADD COMMENT
0
Entering edit mode

why tophat? you can use bowtie2 for that.

ADD REPLY
0
Entering edit mode

I actually tried did not work. maybe my command was wrong. do you have an example?

ADD REPLY
1
Entering edit mode

You need;

reference.fasta
seqs_to_map.fasta
make reference index;
bowtie2-build reference.fasta ref_index
It produces the index; 6 files .bt2
Then make the mapping;
bowtie2 --np 0 --n-ceil L,0,0.02 --rdg 0,6 --rfg 0,6 --mp 6,2 --score-min L,0,-0.2 -x ref_index -f  seqs_to_map.fasta -S file_out.sam
then sort and create .bam with samtools:

samtools view -bS file_out.sam > file_out_2.bam
samtools sort file_out_2.bam file_out_2.sor
samtools index file_out_2.sor.bam #to load in igv for example

That`s it

ADD REPLY
0
Entering edit mode
  1. Did it produce an error?
  2. Why are you using tophat (it's a deprecated tool)?
ADD REPLY
0
Entering edit mode

what tool do you suggest? actually I need to get bam file.

ADD REPLY
0
Entering edit mode

If for some reason you actually need a splice-aware aligner (unlikely) then you can just use bowtie2 directly.

ADD REPLY
0
Entering edit mode

here is the error I got after running this command:

Error: Couldn't build bowtie index with err = 1
ADD REPLY
0
Entering edit mode

Edit to show the command you used.

ADD REPLY

Login before adding your answer.

Traffic: 3415 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6