Star RNA seq aligner issue:
1
0
Entering edit mode
3.5 years ago
play.tatha • 0

BAMoutput.cpp:27:BAMoutput: exiting because of OUTPUT FILE error: could not create output file /home/.../three_STARtmp//BAMsort/20/16

SOLUTION: check that the path exists and you have write permission for this file. Also check ulimit -n and increase it to allow more open files.

Can't figure out the actual issue.

RNA-Seq STAR BAM • 2.4k views
ADD COMMENT
0
Entering edit mode

Did you try what's written in SOLUTION or is it your attempts ?

ADD REPLY
0
Entering edit mode

Yes, I checked that the path is valid.

The ulimit -n showed 1024 as output.

Still, the issue is not resolved.

ADD REPLY
0
Entering edit mode

It is related to the --outSAMtype BAM SortedByCoordinate command. The issue is automatically resolved if --outSAMtype BAM Unsorted is used.

https://github.com/alexdobin/STAR/issues/529

ADD REPLY
0
Entering edit mode

We do not have your STAR command line but you can try to reduce the number of thread used and increase the ulimit even more. You can also sort your BAM file afterwards.

ADD REPLY
0
Entering edit mode
2.2 years ago
Max • 0

ulimit -n 65535

it works!

https://www.cnblogs.com/xuexiaohun/articles/6233430.html

ADD COMMENT

Login before adding your answer.

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