Louis BECQUEY

Merge branch 'stage_aglae'

...@@ -2494,14 +2494,14 @@ def gmm_hrna(): ...@@ -2494,14 +2494,14 @@ def gmm_hrna():
2494 os.makedirs(runDir + "/results/figures/HiRE-RNA/distances/", exist_ok=True) 2494 os.makedirs(runDir + "/results/figures/HiRE-RNA/distances/", exist_ok=True)
2495 os.chdir(runDir + "/results/figures/HiRE-RNA/distances/") 2495 os.chdir(runDir + "/results/figures/HiRE-RNA/distances/")
2496 2496
2497 - GMM_histo_toric(lastc4p_p_o5p, "C4'-P-O5'", toric=True) 2497 + GMM_histo(lastc4p_p_o5p, "C4'-P-O5'", toric=True)
2498 - GMM_histo_toric(lastc1p_lastc4p_p, "C1'-C4'-P", toric=True) 2498 + GMM_histo(lastc1p_lastc4p_p, "C1'-C4'-P", toric=True)
2499 - GMM_histo_toric(lastc5p_lastc4p_p, "C5'-C4'-P", toric=True) 2499 + GMM_histo(lastc5p_lastc4p_p, "C5'-C4'-P", toric=True)
2500 - GMM_histo_toric(p_o5p_c5p, "P-O5'-C5'", toric=True) 2500 + GMM_histo(p_o5p_c5p, "P-O5'-C5'", toric=True)
2501 - GMM_histo_toric(o5p_c5p_c4p, "O5'-C5'-C4'", toric=True) 2501 + GMM_histo(o5p_c5p_c4p, "O5'-C5'-C4'", toric=True)
2502 - GMM_histo_toric(c5p_c4p_c1p, "C5'-C4'-C1'", toric=True) 2502 + GMM_histo(c5p_c4p_c1p, "C5'-C4'-C1'", toric=True)
2503 - GMM_histo_toric(c4p_c1p_b1, "C4'-C1'-B1", toric=True) 2503 + GMM_histo(c4p_c1p_b1, "C4'-C1'-B1", toric=True)
2504 - GMM_histo_toric(c1p_b1_b2, "C1'-B1-B2", toric=True) 2504 + GMM_histo(c1p_b1_b2, "C1'-B1-B2", toric=True)
2505 2505
2506 GMM_histo(lastc4p_p_o5p, "C4'-P-O5'", toric=True, hist=False, couleur='lightcoral') 2506 GMM_histo(lastc4p_p_o5p, "C4'-P-O5'", toric=True, hist=False, couleur='lightcoral')
2507 GMM_histo(lastc1p_lastc4p_p, "C1'-C4'-P", toric=True, hist=False, couleur='limegreen') 2507 GMM_histo(lastc1p_lastc4p_p, "C1'-C4'-P", toric=True, hist=False, couleur='limegreen')
...@@ -2533,14 +2533,14 @@ def gmm_hrna(): ...@@ -2533,14 +2533,14 @@ def gmm_hrna():
2533 os.makedirs(runDir + "/results/figures/HiRE-RNA/torsions/", exist_ok=True) 2533 os.makedirs(runDir + "/results/figures/HiRE-RNA/torsions/", exist_ok=True)
2534 os.chdir(runDir + "/results/figures/HiRE-RNA/torsions/") 2534 os.chdir(runDir + "/results/figures/HiRE-RNA/torsions/")
2535 2535
2536 - GMM_histo_toric(p_o5_c5_c4, "P-O5'-C5'-C4'", toric=True) 2536 + GMM_histo(p_o5_c5_c4, "P-O5'-C5'-C4'", toric=True)
2537 - GMM_histo_toric(o5_c5_c4_c1, "O5'-C5'-C4'-C1'", toric=True) 2537 + GMM_histo(o5_c5_c4_c1, "O5'-C5'-C4'-C1'", toric=True)
2538 - GMM_histo_toric(c5_c4_c1_b1, "C5'-C4'-C1'-B1", toric=True) 2538 + GMM_histo(c5_c4_c1_b1, "C5'-C4'-C1'-B1", toric=True)
2539 - GMM_histo_toric(c4_c1_b1_b2, "C4'-C1'-B1-B2", toric=True) 2539 + GMM_histo(c4_c1_b1_b2, "C4'-C1'-B1-B2", toric=True)
2540 - GMM_histo_toric(o5_c5_c4_psuiv, "O5'-C5'-C4'-P°", toric=True) 2540 + GMM_histo(o5_c5_c4_psuiv, "O5'-C5'-C4'-P°", toric=True)
2541 - GMM_histo_toric(c5_c4_psuiv_o5suiv, "C5'-C4'-P°-O5'°", toric=True) 2541 + GMM_histo(c5_c4_psuiv_o5suiv, "C5'-C4'-P°-O5'°", toric=True)
2542 - GMM_histo_toric(c4_psuiv_o5suiv_c5suiv, "C4'-P°-O5'°-C5'°", toric=True) 2542 + GMM_histo(c4_psuiv_o5suiv_c5suiv, "C4'-P°-O5'°-C5'°", toric=True)
2543 - GMM_histo_toric(c1_c4_psuiv_o5suiv, "C1'-C4'-P°-O5'°", toric=True) 2543 + GMM_histo(c1_c4_psuiv_o5suiv, "C1'-C4'-P°-O5'°", toric=True)
2544 2544
2545 GMM_histo(p_o5_c5_c4, "P-O5'-C5'-C4'", toric=True, hist=False, couleur='darkred') 2545 GMM_histo(p_o5_c5_c4, "P-O5'-C5'-C4'", toric=True, hist=False, couleur='darkred')
2546 GMM_histo(o5_c5_c4_c1, "O5'-C5'-C4'-C1'", toric=True, hist=False, couleur='chocolate') 2546 GMM_histo(o5_c5_c4_c1, "O5'-C5'-C4'-C1'", toric=True, hist=False, couleur='chocolate')
...@@ -2992,7 +2992,7 @@ if __name__ == "__main__": ...@@ -2992,7 +2992,7 @@ if __name__ == "__main__":
2992 2992
2993 #exit() 2993 #exit()
2994 2994
2995 - process_jobs(joblist) 2995 + # process_jobs(joblist)
2996 2996
2997 # Now process the memory-heavy tasks family by family 2997 # Now process the memory-heavy tasks family by family
2998 if DO_AVG_DISTANCE_MATRIX: 2998 if DO_AVG_DISTANCE_MATRIX:
...@@ -3008,11 +3008,11 @@ if __name__ == "__main__": ...@@ -3008,11 +3008,11 @@ if __name__ == "__main__":
3008 3008
3009 # finish the work after the parallel portions 3009 # finish the work after the parallel portions
3010 3010
3011 - per_chain_stats() # per chain base frequencies en basepair types 3011 + # per_chain_stats() # per chain base frequencies en basepair types
3012 - seq_idty() # identity matrices from pre-computed .npy matrices 3012 + # seq_idty() # identity matrices from pre-computed .npy matrices
3013 - stats_pairs() 3013 + # stats_pairs()
3014 if n_unmapped_chains: 3014 if n_unmapped_chains:
3015 - general_stats() 3015 + # general_stats()
3016 os.makedirs(runDir+"/results/figures/GMM/", exist_ok=True) 3016 os.makedirs(runDir+"/results/figures/GMM/", exist_ok=True)
3017 os.makedirs(runDir+"/results/geometry/json/", exist_ok=True) 3017 os.makedirs(runDir+"/results/geometry/json/", exist_ok=True)
3018 joblist = [] 3018 joblist = []
...@@ -3036,8 +3036,4 @@ if __name__ == "__main__": ...@@ -3036,8 +3036,4 @@ if __name__ == "__main__":
3036 joblist.append(Job(function=gmm_wadley, args=())) 3036 joblist.append(Job(function=gmm_wadley, args=()))
3037 if len(joblist): 3037 if len(joblist):
3038 process_jobs(joblist) 3038 process_jobs(joblist)
3039 -
3040 -
3041 -
3042 -
3043 3039
...\ No newline at end of file ...\ No newline at end of file
......