From Eratic Horse, 1 Year ago, written in Bash.
This paste is a reply to Re: Re: nested for loop from Ample Motmot - view diff
  1. #!/bin/bash
  2.  
  3. while read -r line; do
  4.   bwa samse /ref/refgenome.fa \
  5.     "$HOME/gbs/fastq/Round2/stacks/aln/lane2/$line.fq.gz.sai" \
  6.     "$HOME/gbs/fastq/Round2/stacks/samples/Lane2/$line.fq.gz" \
  7.     > "$HOME/gbs/fastq/Round2/stacks/aln/sam/lane2/$line.sam" \
  8.     | tee "$HOME/gbs/fastq/Round2/stacks/aln/sam/lane2/${line}_sam.log"
  9. 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 1 Year ago.
captcha