-
Notifications
You must be signed in to change notification settings - Fork 0
/
proc.sh
27 lines (20 loc) · 1001 Bytes
/
proc.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#EXPS=('NCxSTD-NC' 'NRxSTD-NR' 'STD-NCxHSD-NC' 'STD-NCxSTD-NR' 'STD-NRxHSD-NR' 'NCxNR' 'NRxHSD-NR' 'HSD-NCxHSD-NR' 'NCxHSD-NC');
#EXPS=('NCxSTD-NC' 'NRxSTD-NR')
# EXPS=('NCxSTD-NC')
EXPS=('HSD-NCxHSD-NR')
STEPS=('step-prepare-data', 'step-quality-control', 'step-metataxonomy', 'step-rarefaction-analysis', 'step-diversity-analysis', 'step-abundance-analysis', 'step-diversity-analysis', 'step-lefse-analysis')
for i in "${EXPS[@]}"
do
echo "Processing ${i}";
EXPID="${i}-trim"
EXPDIR="experiments/ana-flavia-${EXPID}"
# rm -Rf "experiments/ana-flavia-${i}"
STEP="step-lefse-analysis"
rm "nb-templates/${STEP}.ipynb"
FILEPATH="${EXPDIR}/nb-executed-steps/${STEP}-ana-flavia-${EXPID}.ipynb"
echo "Removing file: ${FILEPATH}"
rm ${FILEPATH}
./pipeline.sh "params/edited/ana-flavia-${EXPID}.yaml" qiime2-2023.7
# ./pipeline.sh "params/ana-flavia-${i}.yaml" qiime2-2021.11 # QIIME2 version compatible with picrust2 plugin
# ls ${EXPDIR}/qiime-artifacts/beta-analysis/*unifrac*
done