#!/bin/bash
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample01_CML103/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample01_CML103
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample02_IL14H/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample02_IL14H
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample03_NC350/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample03_NC350
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample04_Ki11/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample04_Ki11
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample05_Mo18W/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample05_Mo18W
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample06_CML322/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample06_CML322
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample07_Ki3/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample07_Ki3
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample08_CML69/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample08_CML69
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample09_CML333/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample09_CML333
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample10_CML277/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample10_CML277
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample11_Ky21/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample11_Ky21
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample12_TZi8/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample12_TZi8
cd BioSample12_TZi8
rename Undetermined_ Tzi8_ *.gz
cd -
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample13_M162W/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample13_M162W
cd BioSample13_M162W
rename Undetermined_ M162W_ *.gz
cd -
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample14_CML247/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample14_CML247
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample15_TX303/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample15_TX303
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample16_B97/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample16_B97
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample17_OH43/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample17_OH43
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample18_NC358/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample18_NC358
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample19_B73_Ab10/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample19_B73_Ab10
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample20_OH7B/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample20_OH7B
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample21_P39/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample21_P39
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample22_CML228/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample22_CML228
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample23_MS37W/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample23_MS37W
cd BioSample23_MS37W
rename Undetermined_ MS37W_ *.gz
cd -
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample24_CML52/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample24_CML52
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample25_HP301/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample25_HP301
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample26_Ms71/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample26_Ms71
iget -K -P -r -T -f  /iplant/home/shared/NAM/BioProject_NAM_SRA_submissions/BioSample27_B73/Library01_Illumina_DNA
mv Library01_Illumina_DNA BioSample27_B73