Hi Satyajeet
I am trying to get this log to work for batch processing multiple files - would something like this work?
#!/bin/bash
#Alignment using bowtie2
for file in *.fq ; do
(bowtie2 -p60 --met-file "path/to/metrics/$file_metrics.txt" -x path/to/refgenome -U "$file" -S "path/to/output/$file.sam") 2>$file.log
done
Thanks!