-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding scripts for mitomap annotation and VCf plots
- Loading branch information
Showing
4 changed files
with
35 additions
and
1 deletion.
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
File renamed without changes.
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,13 @@ | ||
#!/bin/bash | ||
|
||
mitomap() { | ||
## Connect to MITOMAP API to annotate variants, haplogroup, clinic relevance | ||
custom_prints "Annotate variants with Mitomap" } | ||
|
||
mitomap_out="$WD/variant_annot.mitomap.txt" | ||
|
||
$exec_path/scripts/mitomap.py $vcf_file $mitomap_out | ||
|
||
echo "$timestamp [ATTENTION]: Variant annotations are at" $mitomap_out | ||
|
||
} |
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,18 @@ | ||
#!/bin/bash | ||
|
||
plot_vcf(){ | ||
## PLOT VCF STATS | ||
|
||
custom_prints "Plot VCF statistics" | ||
|
||
vcfplotsdir="$WD/vcf_plots" | ||
create_wd $vcfplotsdir | ||
|
||
|
||
vcfstats --vcf $$vcf_file --outdir $vcfplotsdir \ | ||
--config "$exec_path/scripts/plots_vcf.toml" \ | ||
--macro "$exec_path/scripts/custom_macro.py" | ||
|
||
echo "$timestamp [ATTENTION]: VCF plots are at" $vcfplotsdir | ||
|
||
} |