How do I see my log.progress.out file
1
0
Entering edit mode
3.7 years ago

Hi there, I am mapping my FASTQ files using STAR, but it is taking a rather long time. In order to check if everything is ok I want to look at my log.progress.out files, but the file that I currently have in the directory doesnt have a format/does not let me open it. Does anybody know how to check the progress/current status of the running job in terminal? Using a macOS if that helps? many thanks!

fastq terminal STAR RNA-Seq • 2.0k views
ADD COMMENT
1
Entering edit mode
3.7 years ago
Ram 44k

What command are you trying to use right now? STAR's logs are plain text, so any plain text viewer should work.

ADD COMMENT
0
Entering edit mode

I am currently trying to run

STAR --runThreadN 4 --genomeDir genome_index --readFilesCommand gunzip -c --readFilesIn /Users/mfaleeva/Desktop/Day30/Day-30-R1_S1_L008_R1_001.fastq.gz /Users/mfaleeva/Desktop/Day30/Day-30-R1_S1_L008_R2_001.fastq.gz --outSAMattrRGline ID:Day30_R1

For some reason, my log.progress.out file is not text, its not annotated as anything, thats why I am wondering whether I did something wrong?

ADD REPLY
1
Entering edit mode

tail -f log.progress.out should work. That must be a text file.

ADD REPLY
0
Entering edit mode

and I can run this line of code whilst the initial code is running?

ADD REPLY
1
Entering edit mode

Yes. Please read tool documentation to understand what each tool does. man <toolname> should give you the manual. Example: man tail.

ADD REPLY
0
Entering edit mode

unfortunately when I do that nothing changes and the log.progress.out file remains the same?

ADD REPLY
0
Entering edit mode

When you do what exactly? man tail or tail -f log.progress.out? If it's the former, that has nothing to do with the log file, and if it's the latter, tail can only show you what's there. What's the size of the log file?

ADD REPLY
0
Entering edit mode

The log.progress.out file has 6KB, and my aligned.out.sam file has 10.07GB?

ADD REPLY
2
Entering edit mode

Looks like the job is working then.

ADD REPLY
0
Entering edit mode

any clue on how big a typical SAM file for a human genome supposed to be?

ADD REPLY
0
Entering edit mode

It will depend on the number of input reads in your data, their length and number of secondary alignments etc. SAM files could be tens to hundreds of GB, especially since they are plain text/uncompressed.

ADD REPLY
0
Entering edit mode

Hi, you seem to be using 2 accounts, which is not recommended. Do you have a reason for using multiple accounts? If you'd like them merged, please let us know. If not, please stick to a single account.

ADD REPLY

Login before adding your answer.

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