How to make work the following script? I got this code from some tutorial and I have no idea how to make it work? Is it a perl script or python? how to execute it. Kindly help me out in this regard . Thanks
$ for left_fq in /data/reads/NA19240/*_1.fq; do
$ right_fq=${left_fq/_1.fq/_2.fq}
$ lane_id=$(basename ${left_fq/_1.fq})
$ rtg format -f fastq -q sanger -o ${lane_id} -l ${left_fq} -r $
{right_fq} --sam-rg "@RG\tID:${lane_id}\tSM:NA19240\tPL:ILLUMINA"
$ done
it looks like shell script / bash
Hmm . Can you kindly elaborate a little more? like how can i make this script work? pasting in notepad? .bat extension?
"Is there a way to run Bash scripts on Windows?" http://stackoverflow.com/questions/6413377
Oh, I did not notice you may use windows. That would be very complicated I think.