I am trying to create subdirectories in each folder in /home/cmccabe/Desktop/NGS/test/*
. When I use echo
I can see each folder in the directory, but I can not seem to add the commented out portion in bold. These are the sub-directories and sub-folders I am trying to add to each folder in /home/cmccabe/Desktop/NGS/test/*
. Thank you :).
Bash
for D in /home/cmccabe/Desktop/NGS/test/*; do
if [ -d "$D" ]; then
cd "$D"
echo "$D"
#bam/{validation,coverage},bedtools,fastqc,hgmd,igv,panel/{reads,},panel/20x/{base,gene,percent},panel/{reads,},panel/30x/{base,gene,percent},picard,torrent,vcf/overall/{annovar,stats},vcf/panel/{annovar,}} #
fi
done
Folders in /home/cmccabe/Desktop/NGS/test/[/ICODE]
Folder1
Runfolder2
Run3
Example:
Folder 1 - folder in ]/home/cmccabe/Desktop/NGS/test
BAM
-validation
-coverage
Bedtools
FASTQC
HGMD
IGV
Panel
- 20x
reads
base genes percent
- 30x
reads
base genes percent
Picard
Torrent
VCF
- overall
annovar, stats
- Panel
annovar