Aqib Hasnain
09/30/2025, 6:22 PMValue . Is this the number of reads that aligned at the base pair level?
having the exact command run for the BEDGRAPHTOBIGWIG step would be really nice, if anyone can share that!Thomas Danhorn
09/30/2025, 9:10 PMexecution_report_*.html in a web browser, go to the table with the processes, find BEDGRAPHTOBIGWIG (there is search box at the top of the table that helps with that), then scroll to right until you see the script column and click on it to expand it -- that's the full command in there.
Alternatively, if you prefer command line only, you can find one of the BEDGRAPHTOBIGWIG work directories in the .nextflow.log, go there there and look at the .commnd.sh.Aqib Hasnain
10/01/2025, 4:20 PM.nextflow.log
Even more strange, the execution_report_*.html is completely void of data. We're doing something funky with how we run these pipelines on aws batch instances, but they're hyper-optimized so happy about that!
In case anyone wants a hacky way to find the commands that were run by combing through the work directory, here's a bash script:
BUCKET="path/to/bucket/work/run_id/"
# Scan every .command.sh in the run_id work dir and print only those that ran bedGraphToBigWig
aws s3 ls "s3://${BUCKET}" --recursive \
| awk '{print $4}' \
| grep '/\.command\.sh$' \
| while read -r KEY; do
BODY="$(aws s3 cp "s3://mithrl-forge-production/${KEY}" -)"
if grep -q 'bedGraphToBigWig' <<< "$BODY"; then
echo -e "\n=== Found in: s3://${BUCKET}/${KEY} ==="
echo "$BODY"
fi
done