Skip to content

Commit 82e8a70

Browse files
committed
Cleaned up repo
1 parent caf4dc1 commit 82e8a70

File tree

1,105 files changed

+64
-69788
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,105 files changed

+64
-69788
lines changed

result/sims/machina/collect_clusterings.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

result/sims/machina/config.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

result/sims/machina/convert_reads_to_pyclone.py

Lines changed: 0 additions & 33 deletions
This file was deleted.

result/sims/machina/generate_slurm.sh

Lines changed: 0 additions & 19 deletions
This file was deleted.

result/sims/machina/pyclone.sh

Lines changed: 0 additions & 61 deletions
This file was deleted.

result/sims/machina/run.sh

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#!/bin/bash
2+
if [ ! $# -eq 3 ]
3+
then
4+
echo "Usage: $0 <cluster_executable> <generatemutationtrees_executable> <pmh_ti_executable>" >&2
5+
exit 1
6+
fi
7+
8+
9+
10+
for m in {m5,m8}
11+
do
12+
if [ ! -e input_${m} ]
13+
then
14+
mkdir input_${m}
15+
fi
16+
17+
if [ ! -e mut_trees_${m} ]
18+
then
19+
mkdir mut_trees_${m}
20+
fi
21+
22+
if [ ! -e output_${m} ]
23+
then
24+
mkdir output_${m}
25+
fi
26+
27+
for p in {mS,S,M,R}
28+
do
29+
for f in ../../../data/sims/${m}/$p/reads_seed*.tsv
30+
do
31+
s=$(basename $f .tsv | sed -e s/reads_seed//g)
32+
33+
echo Solving seed $s, pattern $p, anatomical sites $m...
34+
$1 -a 0.001 -b 0.05 $f > input_${m}/cluster_${p}_seed${s}.tsv 2> input_${m}/cluster_${p}_seed${s}.txt
35+
$2 input_${m}/cluster_${p}_seed${s}.tsv > mut_trees_${m}/mut_trees_${p}_seed${s}.txt
36+
if [ ! -e output_${m}/${p}_${s} ]
37+
then
38+
mkdir output_${m}/${p}_${s}
39+
fi
40+
$3 -p P -c ../../../data/sims/coloring.txt -m 1,2,3 -t 2 -o output_${m}/${p}_${s}/ -F input_${m}/cluster_${p}_seed${s}.tsv -barT mut_trees_${m}/mut_trees_${p}_seed${s}.txt > output_${m}/${p}_${s}.txt
41+
done
42+
done
43+
done

result/sims/machina_sims/cluster_m5.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

result/sims/machina_sims/cluster_m8.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

result/sims/machina_sims/input_m5/cluster_M_seed209.tsv

Lines changed: 0 additions & 58 deletions
This file was deleted.

result/sims/machina_sims/input_m5/cluster_M_seed209.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)