-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcreate_new_project.sh
55 lines (40 loc) · 1.63 KB
/
create_new_project.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash
## create new project
wkdir=$1
## create working directory
mkdir -p $wkdir
## data: final report, sample table, centromere position, and duplicate pairs [optional]
## put in this directory
mkdir -p ${wkdir}/data
## 01_initial_call
cp -ru ./01_initial_call $wkdir
mkdir -p ${wkdir}/01_initial_call/finalreport_to_matrix_LRR_and_BAF/RDS
mkdir -p ${wkdir}/01_initial_call/run_iPattern/data
mkdir -p ${wkdir}/01_initial_call/run_iPattern/data_aux
mkdir -p ${wkdir}/01_initial_call/run_iPattern/results
mkdir -p ${wkdir}/01_initial_call/run_PennCNV/data
mkdir -p ${wkdir}/01_initial_call/run_PennCNV/data_aux
mkdir -p ${wkdir}/01_initial_call/run_PennCNV/results
mkdir -p ${wkdir}/01_initial_call/run_QuantiSNP/data
mkdir -p ${wkdir}/01_initial_call/run_QuantiSNP/results
mkdir -p ${wkdir}/01_initial_call/run_QuantiSNP/results/res
## 02_batch_effect
cp -ru ./02_batch_effect $wkdir
## 03_create_CNVR
cp -ru ./03_create_CNVR $wkdir
## 04_CNV_genotype
cp -ru ./04_CNV_genotype $wkdir
mkdir -p ${wkdir}/04_CNV_genotype/data
mkdir -p ${wkdir}/04_CNV_genotype/results
## 05_boundary_refinement
cp -ru ./05_boundary_refinement $wkdir
mkdir -p ${wkdir}/05_boundary_refinement/data
mkdir -p ${wkdir}/05_boundary_refinement/results
## 05a_regenotype_after_refinement
mkdir -p ${wkdir}/05a_regenotype_after_refinement
mkdir -p ${wkdir}/05a_regenotype_after_refinement/data
mkdir -p ${wkdir}/05a_regenotype_after_refinement/results
## 06_performance_assessment
cp -ru ./06_performance_assessment $wkdir
echo "New project directory has been created at: $wkdir"
echo "Please put (or create symbolic link to) input data in the directory: $wkdir/data"