-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5e844c
commit 9e77fe9
Showing
2 changed files
with
12 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -503,7 +503,7 @@ def PredictNT_bayes ( W_A, W_T, W_C, W_G, C_A, C_T, C_C, C_G, nuc="N" ): | |
|
||
|
||
def VCF_line (CHR, POS, REF, GN, DP, prob_pre, prob_nuc, FILTER = "PASS"): | ||
CHR = CHR.replace("chr", "").replace("CHR", "").replace("Chr", "") | ||
#CHR = CHR.replace("chr", "").replace("CHR", "").replace("Chr", "") # to be consistent with ASM; 20171025 by Weilong | ||
ID = "." | ||
vague = False | ||
genotype = GN.replace('T/C', 'Y').replace('A/G', 'R') | ||
|
@@ -678,7 +678,7 @@ def main(): | |
" (aka SNVFromATCGmap)\n" \ | ||
"Description: Predict the SNV from ATCGmap file.\n" \ | ||
"Contact: Guo, Weilong; [email protected]\n" \ | ||
"Last update: 2017-08-24\n" \ | ||
"Last update: 2017-10-25\n" \ | ||
"Output format example:\n" \ | ||
" #chr nuc pos ATCG_watson ATCG_crick predicted_nuc p_value\n" \ | ||
" chr1 G 4752 17,0,0,69 0,0,0,0 A,G 9.3e-07\n" \ | ||
|