From Eratic Horse, 3 Years ago, written in Bash.
This paste is a reply to Re: Re: nested for loop from Ample Motmot - go back
Viewing differences between Re: Re: nested for loop and Re: Re: Re: nested for loop
#!/bin/bash

while read -r line; do
k="$HOME/gbs/fastq/Round2/stacks/aln/lane2/$line.fq.gz.sai"\n m="$HOME/gbs/fastq/Round2/stacks/samples/Lane2/$line.fq.gz"\n bwa samse /ref/refgenome.fa "$k" "$m" \
"$HOME/gbs/fastq/Round2/stacks/aln/lane2/$line.fq.gz.sai" \
"$HOME/gbs/fastq/Round2/stacks/samples/Lane2/$line.fq.gz" \
> "$HOME/gbs/fastq/Round2/stacks/aln/sam/lane2/$line.sam" \
| tee "$HOME/gbs/fastq/Round2/stacks/aln/sam/lane2/${line}_sam.log"
done < ~/gbs/fastq/Round2/stacks/aln/lane2/lane2.files

Replies to Re: Re: Re: nested for loop rss

Title Name Language When
Re: Re: Re: Re: nested for loop Idiotic Cat bash 3 Years ago.
captcha