-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnet_features.sh
More file actions
executable file
·62 lines (60 loc) · 2.26 KB
/
net_features.sh
File metadata and controls
executable file
·62 lines (60 loc) · 2.26 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
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env bash
#Overall aim: to save feature vectors
# Strip PDB files in correct format
cd PDB_files
for file in *.pdb
do
echo $file
python /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/strip_pdb.py
done
cd ..
# Create individual PDB files for hydrophobic and charged residues
cd PDB_edited
for file in *pdb
do
echo $file
python /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/create_pdb.py
done
cd ..
# Compute side-chain distance map from all PDBs now
cd PDB_edited
for file in *.pdb
do
echo $file
python /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/MD_cmaps.py -top $file -trj $file -fe ${file%.*} -od /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/Results_data/ -sc_cmap
done
# Get binary contact map Origin pdb
for file in *.pdb
do
echo $file
python /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/MD_cmaps.py -d_in /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/Results_data/distance_matrix_min_${file%.*}.txt -fe ${file%.*} -od /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/Results_data/ -bin -coff 0.45
done
cd ..
cd hydrophobic_files
for file in *.pdb
do
echo $file
python /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/MD_cmaps.py -top $file -trj $file -fe ${file%.*} -od /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/Results_data/ -sc_cmap
done
# Get binary contact map Hydrophobic pdb
for file in *.pdb
do
echo $file
python /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/MD_cmaps.py -d_in /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/Results_data/distance_matrix_min_${file%.*}.txt -fe ${file%.*} -od /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/Results_data/ -bin -coff 0.45
done
cd ..
cd charged_files
for file in *.pdb
do
echo $file
python /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/MD_cmaps.py -top $file -trj $file -fe ${file%.*} -od /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/Results_data/ -sc_cmap
done
# Get binary contact map Charged pdb
for file in *.pdb
do
echo $file
python /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/MD_cmaps.py -d_in /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/Results_data/distance_matrix_min_${file%.*}.txt -fe ${file%.*} -od /data2/LucieR/Delemotte-summerlab_ERnorm_100ER_4.5A/Results_data/ -bin -coff 0.45
done
cd ..
# Create feature vector
python input_netx.py