-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.sh
More file actions
52 lines (40 loc) · 1.01 KB
/
run.sh
File metadata and controls
52 lines (40 loc) · 1.01 KB
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
#!/bin/bash
datatype="dmelanoiso"
if [ $datatype == "ecoli" ]
then
data_folder="YOURPATH/ecoli/selfSampleData/"
suffix="fastq"
xtype="rs"
gamount="4.6m"
elif [ $datatype == "elegan" ]
then
data_folder="YOURPATH/elegan/rawdata/"
suffix="fastq"
xtype="rs"
gamount="100m"
elif [ $datatype == "dmelanoiso" ]
then
data_folder="YOURPATH/dmelanoiso/"
suffix="fastq.gz"
xtype="ont"
gamount="144m"
elif [ $datatype == "na24385" ]
then
data_folder="YOURPATH/na24385/"
suffix="fastq"
xtype="ccs"
gamount="3g"
else
data_folder="YOURPATH/hg00733/"
suffix="fastq.gz"
xtype="sq"
gamount="3g"
fi
w_folder="YOURPATH/a-wtdbg/bin"
r_folder="datatest_result"
r_folder=${r_folder}${datatype}
rm -rf ${r_folder}
mkdir ${r_folder}
cd ${r_folder}
${w_folder}/wtdbg2 -x ${xtype} -g ${gamount} -t 28 -i ${data_folder}*.${suffix} -fo result_${datatype} --no-chainning-clip > ${datatype}.out 2>&1
${w_folder}/wtpoa-cns -t 28 -i result_${datatype}.ctg.lay.gz -fo result_${datatype}.raw.fa