-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile_annotationAndBiclustering
47 lines (40 loc) · 2.18 KB
/
Makefile_annotationAndBiclustering
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
################################################################################
# (C) 2016 Tyler W. H. Backman
# Tables and figures for annotation comparison and biclustering sections
################################################################################
# perform comparison between bioassay and drugbank targets and store as matrix
# drug vs cluster object is called "drugComparisonMatrix"
working/drugComparisonMatrix.RData: src/comparisonMatrix.R $(databaseFile) working/highlyScreenedCids.txt working/curatedClusters.txt working/drug_target_uniprot_links.csv working/drugbank_links.csv
$^ $@
# quantify results in drugComparisonMatrix
working/drugComparisonTable.tex: src/drugComparisonTable.R working/drugComparisonMatrix.RData working/clusterAnnotations.csv
$^ $@
# perform biclustering to identify target/drug groups
working/biClusters.RData: src/biclusterMatrix.R working/drugComparisonMatrix.RData src/bicbin.R
$^ $@ $(cores)
# analyze each bicluster one at a time
working/perClusterAnalysis: src/perClusterAnalysis.R \
working/drugComparisonMatrix.RData \
working/biClusters.RData \
working/curatedClusters.txt \
working/clusterAnnotations.csv \
working/drugbank_links.csv \
working/structureClusterDrugs.tab \
working/combinedTargetDomainsTwoCols \
working/Pfam-A.clans.tsv
mkdir -p $@
$^ $@ $(cores)
# make MDS plot of biclusters (color) vs structure (spatial)
working/biclusterMDS.pdf: src/biclusterMDS.R working/biClusters.RData working/drugbank.sdf working/drugbank_links.csv
$^ $@
# make heatmap of GO terms vs biclusters
working/biclusterGoScatter.pdf: src/biclusterGoScatter.R working/perClusterAnalysis working/clusterGOslimAnnotations.csv working/clusterAnnotations.csv working/drugComparisonMatrix.RData
$^ $@
# make graph object of drug target matrix
working/drugComparisonGraph.gml: src/biclusterBipartiteGraph.R \
working/drugComparisonMatrix.RData \
working/biClusters.RData \
working/clusterGOslimAnnotations.csv \
working/clusterAnnotations.csv \
working/biclustergoids.RData
$^ $@