-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update README for release * update analysis script for only classifier building * add bash script for building TP53 figures * remove reference, no longer applicable * change tissue to cancer in readme * update readme * update readme * update readme * update readme * update readme
- Loading branch information
Showing
4 changed files
with
90 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
|
||
# Pipeline to reproduce figures for the DNA Damage Repair manuscript | ||
# | ||
# Usage: bash scripts/tp53_ddr_figures.sh | ||
# | ||
# Output: summarizes the results of the TP53 classifier and outputs | ||
# several figures and tables | ||
|
||
tp53_dir='classifiers/TP53' | ||
|
||
# 1. Apply PanCan classifier to all samples and output scores for each sample | ||
python scripts/apply_weights.py --classifier $tp53_dir --copy_number | ||
|
||
# 2. Summarize and visualize performance of classifiers | ||
python scripts/visualize_decisions.py --scores $tp53_dir --custom 'TP53_loss' | ||
python scripts/map_mutation_class.py --scores $tp53_dir --genes 'TP53' | ||
Rscript --vanilla scripts/ddr_summary_figures.R | ||
Rscript --vanilla scripts/compare_within_models.R \ | ||
--within_dir $tp53_dir'/within_disease' --pancan_summary $tp53_dir | ||
|
||
# 3. Perform Snaptron analysis | ||
# NOTE: Snaptron setup must be performed first. See `pancancer/scripts/snaptron/` | ||
bash dna_damage_repair_tp53exon.sh | ||
|
||
# 4. Perform copy number burden analysis | ||
python scripts/copy_burden_merge.py --classifier_folder $tp53_dir | ||
Rscript --vanilla scripts/copy_burden_figures.R | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters