...
Code Block | ||
---|---|---|
| ||
ls *.vcf | \
perl -n -e 'chomp; $_=~/(NA\d+).*(sam|GATK)/; print "annovarPipe.sh $_ hg19_annovar_db >$1.$2.log 2>&1 &\n";' > commands
|
Note how the print statement includes redirections for generating log files, and the entire output is redirected to a file named commands.
...