(ERR): "index/Trinity.fa" does not exist or is not a Bowtie 2 index Exiting now ...
0
0
Entering edit mode
10 months ago

Hi,

I am new to using trinity tool, and I went through a tutorial to run and assess the assembly.

I already generated Trinity.fasta file, then # Build Index using this:

bowtie2-build ~/workdir/trinity/trinity_out_dir/Trinity.fasta index/Trinity.fa

This generated multiple Trinity.fa files in the index folder

bowtie2_assessment/index$ ls
Trinity.fa.1.bt2  Trinity.fa.3.bt2  Trinity.fa.rev.1.bt2
Trinity.fa.2.bt2  Trinity.fa.4.bt2  Trinity.fa.rev.2.bt2

So, when I ran

R1="$HOME/workdir/sample_data/sample1-ErccTranscripts-chr22.read1.fastq.gz"
R2="$HOME/workdir/sample_data/sample2-ErccTranscripts-chr22.read2.fastq.gz"

bowtie2 -p 1 -q --no-unal -k 20 -x index/Trinity.fa -1 $R1 -2 $R2 2> align_stats.txt| samtools view -Sb -o bowtie2.bam

# View align_stats.txt

cat align_stats.txt

I got this error message:

(ERR): "index/Trinity.fa" does not exist or is not a Bowtie 2 index Exiting now ...

since I do not have Trinity.fa, but multiple Trinity.fa files.

I do not understand what is wrong here. Your help is much appreciated!

bowtie2 align_stats trinity • 721 views
ADD COMMENT
0
Entering edit mode

This generated multiple Trinity.fa files in the index folder

Did the process complete successfully?

ADD REPLY
0
Entering edit mode

It is completed but I can not find any bam files, as you see above, I should get a bowtie2.bam file as an output but I did not.

ADD REPLY
0
Entering edit mode

I think the problem in bowtie2 installation. it was installed using this: conda install -c bioconda bowtie2 I removed it then re-installed using

conda install -c "bioconda/label/broken" bowtie2

But now, it generates a new error (command bowtie2 does not exit. I also tried sudo apt install bowtie2 Same output

ADD REPLY

Login before adding your answer.

Traffic: 2323 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