Redirecting the Log.txt file from a STAR indexing run
1
0
Entering edit mode
7.7 years ago
biomagician ▴ 410

When I run this command to index a genome with STAR:

STAR --runMode genomeGenerate --genomeDir output/genome/ecoli/index --genomeFastaFiles output/genome/ecoli/sequence/ecoli.fa --sjdbGTFfile output/genome/ecoli/annotation/ecoli.gtf > output/genome/ecoli/index/message.txt

a Log.txt file is created in my working directory with details about the indexation of the genome. Does anybody know how to write the Log.txt in another directory? Thanks. Cristian

star redirection output index • 4.3k views
ADD COMMENT
4
Entering edit mode
7.7 years ago
GenoMax 141k

From STAR manual

STAR produces multiple output files. All files have standard name, however, you can change the file prefixes using --outFileNamePrefix /path/to/output/dir/prefix. By default, this parameter is ./, i.e. all output files are written in the current directory.

This would write all output files to the directory you specify.

If you only need to redirect stderr/stdout (as indicated in your command) then take a look at this.

ADD COMMENT
0
Entering edit mode

Thank you, it worked.

ADD REPLY
1
Entering edit mode

Thank you, it worked.

so, flag this question as answered please (green flag on the left)

ADD REPLY

Login before adding your answer.

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