-
I am running this mox script on Manchester C. gigas gonad WGBS data. The files trimmed, but none of the fastqc HTML reports were generated! I ran a similar script on the Hawaii data and got HMTL reports, so I'm not sure why that's not happening this time. How can I get these reports from my TrimGalore/cutadapt code (besides running FastQC separately)? Hawaii run slurm edit: added correct slurm links |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
This error message is in your Hawaii slurm:
I don't have time ATM to investigate the error, but the other option is to run FastQC independently, like so. It will run on all files matching this pattern ( # Set CPU threads to use
threads=28
# Populate array with FastQ files
fastq_array=(*.fq.gz)
# Pass array contents to new variable
fastqc_list=$(echo "${fastq_array[*]}")
# Run FastQC
# NOTE: Do NOT quote ${fastqc_list}
fastqc \
--threads ${threads} \
--outdir ${output_dir} \
${fastqc_list} |
Beta Was this translation helpful? Give feedback.
-
Per this TrimGalore Issue, they say the error message indicates that the command couldn't find FastQC. Is there some possibility that FastQC isn't in your system $PATH any more? |
Beta Was this translation helpful? Give feedback.
-
Or..... always use the full path :)
On Sun, Feb 7, 2021 at 4:51 PM Yaamini Venkataraman < ***@***.***> wrote:
Yup, I don't think it's in my path anymore. I tried running the code you
posted above without specifying the fastqc directory and my script failed.
I'll add it back to my path!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1104 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABB4PN5AFXDTCJWVL23O3VTS54YOXANCNFSM4XDSX5OQ>
.
--
Steven B. Roberts, Associate Professor
Associate Director - Graduate Program Coordinator
School of Aquatic and Fishery Sciences
University of Washington
Fisheries Teaching and Research (FTR) Building - Office 232
1140 NE Boat Street - Seattle, WA 98105
robertslab.info - sr320@uw.edu - @sr320
vm:206.866.5141 - cell:360.362.3626
|
Beta Was this translation helpful? Give feedback.
-
Here's a "pro" tip when running SLURM scripts on Mox (or, any computer, really). Add this to the bottom of your SLURM script: # Document programs in PATH
{
date
echo ""
echo "System PATH for $SLURM_JOB_ID"
echo ""
printf "%0.s-" {1..10}
echo "${PATH}" | tr : \\n
} >> system_path.log
echo "Finished logging system PATH" This creates a newline-delimited log of all the items listed in your system I'll add this somewhere to our Handbook... |
Beta Was this translation helpful? Give feedback.
This error message is in your Hawaii slurm:
I don't have time ATM to investigate the error, but the other option is to run FastQC independently, like so. It will run on all …