STAR Alignment Trouble
1
1
Entering edit mode
7.6 years ago
atcggcta ▴ 150

Hello,

I'm trying to run a STAR alignment on some RNA-Seq reads but my sam output file is much smaller than expected to the point where I believe it didn't work correctly. I'm not sure what I'm doing wrong.

This is the command I used

STAR --runThreadN 4 --genomeDir /Path/To/Index --readFilesCommand gunzip -c /Path/to/Reads/File

Please let me know if there is any other information I can provide. Any help would be appreciated, Thank you in advance!

STAR alignment RNA-Seq • 4.2k views
ADD COMMENT
2
Entering edit mode

Hi,

can you try this instead:

STAR --runThreadN 4 --genomeDir /Path/To/Index --readFilesCommand gunzip -c --readFilesIn /Path/to/Reads/File

I had a similar problem like yours where I forgot to place the "readFilesIn" parameter.

ADD REPLY
0
Entering edit mode

Thank you, that was the issue!

ADD REPLY
1
Entering edit mode
7.6 years ago

Hi!

It is hard to guess. Maybe you are mapping to the wrong reference, or you sample is contaminated? Do you see any error messages from STAR? What is your mapping statistics?

Maybe try to add --outReadsUnmapped Fastx to see how big are unmapped files?

Other parameters you might find useful: rnaseq.star.sh

Sergey

ADD COMMENT
0
Entering edit mode

Hello Sergey,

Thank you for the response

I will try your suggestions. I did get two messages but I didn't know what they meant (I totally forgot to mention that)

They were

"gzip: Read1.gz: No such file or directory"

and

"gzip: Read2.gz: No such file or directory"

ADD REPLY
1
Entering edit mode

It looks like it can't find your input files. Check the path - it is case sensitive.

ADD REPLY

Login before adding your answer.

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