-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtesting.log
2136 lines (2056 loc) · 253 KB
/
testing.log
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB_test.py
PATH_OF_PRECISIONPRODB: /data/p/xiaolong/PrecisionProDB
OUTPUT_TEST: /data/p/xiaolong/PrecisionProDB/test_output
running test with key_input: Ensembl, key_variant: tsv, sqlite_key: no_sqlite
Running test: without use sqlite file
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/tsv/no_sqlite && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz -g /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/tsv/no_sqlite/Ensembl.tsv.no_sqlite -a Ensembl_GTF --PEFF -t 4
Namespace(genome='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz', gtf='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz', mutations='/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz', protein='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/tsv/no_sqlite/Ensembl.tsv.no_sqlite', datatype='Ensembl_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='')
variant file is a tsv file
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
finish splitting the mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
started running perChrom for chromosome: 1
from the protein file, totally 663 protein sequences.
finish reading genome file
number of proteins from the gtf file 663
finishing get locs and frame
transcripts with no mutations: 467
transcripts with mutations in CDSplus: 196
ENSP00000478421 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000478421, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHGSCLSRPPCCRRRMPLTSPWAPISGPPSWGCPRLCARPQATASCPPRRRRCSPGSRSSCGSRTWPGWSCPPTSCGRRSWRARAHSCWRPRPPCAPTTAPRSCSGAGPCWC
ENSP00000478421 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000480678 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000480678, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSGCSSEGPQWPGSPPALLHGRSASEAGPGSAPGGRRPSCRPVLLGEGAASAAPLAVAAECPSRRPGPPSQAPLPGGALGSVPDPRLRLPAPRAGGDVRLAAGAPAEAEPGPAGAARRPPAAEGAGERAPTAAGARDRPAPQRRRRGAAAARGPAGAEPRRGATAGPAPPGAPGLRTPHPVPGLCPASPPEGGSRPCLSAAQRVQGDDGG
ENSP00000480678 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000482090 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000482090, the original provided protein sequence is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC
ENSP00000482090 cannot be processed properly, please check Error: Grouper and axis must be same length
number of proteins with AA change: 90
finished running perChrom for chromosome: 1
total number of proteins with AA mutation: 90
remove temp folder
finished!
PrecisionProDB finished! Total seconds: 4.464511156082153
Command finished in 5.41 seconds
running test with key_input: Ensembl, key_variant: tsv, sqlite_key: sqlite_one_step
Running test: use SQLite file as intermediate file
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/tsv/sqlite_one_step && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz -g /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/tsv/sqlite_one_step/Ensembl.tsv.sqlite_one_step -a Ensembl_GTF --PEFF -t 4 -S /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
Namespace(genome='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz', gtf='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz', mutations='/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz', protein='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/tsv/sqlite_one_step/Ensembl.tsv.sqlite_one_step', datatype='Ensembl_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite')
using sqlite database to speed up
running in sqlite mode
sqlite file "/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite" does not exist, create one first
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
file_mutation is not provided, skip splitting mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
1 No mutation file provided, will not do mutation analysis
from the protein file, totally 663 protein sequences.
finish reading genome file
number of proteins from the gtf file 663
finishing get locs and frame
building sqlite done
remove temp folder
finished!
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
variant file is a tsv file
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
finish splitting the mutation file
/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
run perChrom for chromosome 1
ENSP00000478421 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000478421, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHGSCLSRPPCCRRRMPLTSPWAPISGPPSWGCPRLCARPQATASCPPRRRRCSPGSRSSCGSRTWPGWSCPPTSCGRRSWRARAHSCWRPRPPCAPTTAPRSCSGAGPCWC
ENSP00000478421 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000480678 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000480678, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSGCSSEGPQWPGSPPALLHGRSASEAGPGSAPGGRRPSCRPVLLGEGAASAAPLAVAAECPSRRPGPPSQAPLPGGALGSVPDPRLRLPAPRAGGDVRLAAGAPAEAEPGPAGAARRPPAAEGAGERAPTAAGARDRPAPQRRRRGAAAARGPAGAEPRRGATAGPAPPGAPGLRTPHPVPGLCPASPPEGGSRPCLSAAQRVQGDDGG
ENSP00000480678 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000482090 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000482090, the original provided protein sequence is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC
ENSP00000482090 cannot be processed properly, please check Error: Grouper and axis must be same length
number of proteins with AA change: 90
finished running perchrom_sqlite for chromosome: 1
total number of proteins with AA mutation: 90
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
remove temp folder
finished!
PrecisionProDB finished! Total seconds: 6.047613143920898
Command finished in 6.86 seconds
running test with key_input: Ensembl, key_variant: tsv, sqlite_key: sqlite_two_step
Running test: Generate SQLite file in advance and use SQLite
/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite exists. Removing it.
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/tsv/sqlite_two_step && python /data/p/xiaolong/PrecisionProDB/src/buildSqlite.py -S /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite -g /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz -a Ensembl_GTF && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz -o /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/tsv/sqlite_two_step/Ensembl.tsv.sqlite_two_step -a Ensembl_GTF --PEFF -t 4 -S /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
file_mutation is not provided, skip splitting mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
1 No mutation file provided, will not do mutation analysis
from the protein file, totally 663 protein sequences.
finish reading genome file
number of proteins from the gtf file 663
finishing get locs and frame
building sqlite done
remove temp folder
finished!
SQLite creation complete.
Namespace(genome='', gtf='', mutations='/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz', protein='', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/tsv/sqlite_two_step/Ensembl.tsv.sqlite_two_step', datatype='Ensembl_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite')
using sqlite database to speed up
running in sqlite mode
use existing sqlite file "/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite" for gene annotation
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
variant file is a tsv file
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
finish splitting the mutation file
/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
run perChrom for chromosome 1
ENSP00000478421 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000478421, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHGSCLSRPPCCRRRMPLTSPWAPISGPPSWGCPRLCARPQATASCPPRRRRCSPGSRSSCGSRTWPGWSCPPTSCGRRSWRARAHSCWRPRPPCAPTTAPRSCSGAGPCWC
ENSP00000478421 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000480678 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000480678, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSGCSSEGPQWPGSPPALLHGRSASEAGPGSAPGGRRPSCRPVLLGEGAASAAPLAVAAECPSRRPGPPSQAPLPGGALGSVPDPRLRLPAPRAGGDVRLAAGAPAEAEPGPAGAARRPPAAEGAGERAPTAAGARDRPAPQRRRRGAAAARGPAGAEPRRGATAGPAPPGAPGLRTPHPVPGLCPASPPEGGSRPCLSAAQRVQGDDGG
ENSP00000480678 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000482090 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000482090, the original provided protein sequence is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC
ENSP00000482090 cannot be processed properly, please check Error: Grouper and axis must be same length
number of proteins with AA change: 90
finished running perchrom_sqlite for chromosome: 1
total number of proteins with AA mutation: 90
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
remove temp folder
finished!
PrecisionProDB finished! Total seconds: 4.627309560775757
Command finished in 8.01 seconds
running test with key_input: Ensembl, key_variant: vcf, sqlite_key: no_sqlite
Running test: without use sqlite file
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/no_sqlite && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/celline.vcf.gz -g /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/no_sqlite/Ensembl.vcf.no_sqlite -a Ensembl_GTF --PEFF -t 4
Namespace(genome='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz', gtf='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz', mutations='/data/p/xiaolong/PrecisionProDB/examples/celline.vcf.gz', protein='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/no_sqlite/Ensembl.vcf.no_sqlite', datatype='Ensembl_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='')
variant file is a vcf file
start extracting mutation file from the vcf input
individual is None, select the first sample in vcf file, which is HEK293
before QC, sites with mutations: 26922 of which, homozyous sites: 11242
after QC, number of variants in two dataframes are: 11094 26604
finished extracting mutations from the vcf file
start running PrecisionProDB for first strand of the genome mutation file
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
{'file_genome': '/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz', 'file_gtf': '/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz', 'file_mutations': '/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/no_sqlite/Ensembl.vcf.no_sqlite.vcf2mutation_1.tsv', 'file_protein': '/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz', 'threads': 4, 'outprefix': '/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/no_sqlite/Ensembl.vcf.no_sqlite_1', 'datatype': 'Ensembl_GTF', 'protein_keyword': 'protein_id', 'keep_all': False, 'tempfolder': '/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/no_sqlite/Ensembl.vcf.no_sqlite_1_temp', 'chromosomes_genome': None, 'chromosomes_genome_description': None, 'chromosomes_mutation': None, 'chromosomes_gtf': None}
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
finish splitting the mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
started running perChrom for chromosome: 1
from the protein file, totally 663 protein sequences.
finish reading genome file
number of proteins from the gtf file 663
finishing get locs and frame
transcripts with no mutations: 501
transcripts with mutations in CDSplus: 162
ENSP00000478421 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000478421, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHGSCLSRPPCCRRRMPLTSPWAPISGPPSWGCPRLCARPQATASCPPRRRRCSPGSRSSCGSRTWPGWSCPPTSCGRRSWRARAHSCWRPRPPCAPTTAPRSCSGAGPCWC
ENSP00000478421 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000480678 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000480678, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSGCSSEGPQWPGSPPALLHGRSASEAGPGSAPGGRRPSCRPVLLGEGAASAAPLAVAAECPSRRPGPPSQAPLPGGALGSVPDPRLRLPAPRAGGDVRLAAGAPAEAEPGPAGAARRPPAAEGAGERAPTAAGARDRPAPQRRRRGAAAARGPAGAEPRRGATAGPAPPGAPGLRTPHPVPGLCPASPPEGGSRPCLSAAQRVQGDDGG
ENSP00000480678 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000482090 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000482090, the original provided protein sequence is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC
ENSP00000482090 cannot be processed properly, please check Error: Grouper and axis must be same length
number of proteins with AA change: 90
finished running perChrom for chromosome: 1
total number of proteins with AA mutation: 90
remove temp folder
finished!
start running PrecisionProDB for second strand of the genome mutation file
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
{'file_genome': '/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz', 'file_gtf': '/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz', 'file_mutations': '/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/no_sqlite/Ensembl.vcf.no_sqlite.vcf2mutation_1.tsv', 'file_protein': '/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz', 'threads': 4, 'outprefix': '/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/no_sqlite/Ensembl.vcf.no_sqlite_1', 'datatype': 'Ensembl_GTF', 'protein_keyword': 'protein_id', 'keep_all': False, 'tempfolder': '/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/no_sqlite/Ensembl.vcf.no_sqlite_1_temp', 'chromosomes_genome': ['1'], 'chromosomes_genome_description': ['1 dna:chromosome chromosome:GRCh38:1:1:248956422:1 REF'], 'chromosomes_mutation': ['1'], 'chromosomes_gtf': ['1'], 'chromosomes_protein': ['1'], 'chromosomes': ['1']}
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
finish splitting the mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
started running perChrom for chromosome: 1
from the protein file, totally 663 protein sequences.
finish reading genome file
number of proteins from the gtf file 663
finishing get locs and frame
transcripts with no mutations: 430
transcripts with mutations in CDSplus: 233
ENSP00000478421 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000478421, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHGSCLSRPPCCRRRMPLTSPWAPISGPPSWGCPRLCARPQATASCPPRRRRCSPGSRSSCGSRTWPGWSCPPTSCGRRSWRARAHSCWRPRPPCAPTTAPRSCSGAGPCWC
ENSP00000478421 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000480678 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000480678, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSGCSSEGPQWPGSPPALLHGRSASEAGPGSAPGGRRPSCRPVLLGEGAASAAPLAVAAECPSRRPGPPSQAPLPGGALGSVPDPRLRLPAPRAGGDVRLAAGAPAEAEPGPAGAARRPPAAEGAGERAPTAAGARDRPAPQRRRRGAAAARGPAGAEPRRGATAGPAPPGAPGLRTPHPVPGLCPASPPEGGSRPCLSAAQRVQGDDGG
ENSP00000480678 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000482090 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000482090, the original provided protein sequence is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC
ENSP00000482090 cannot be processed properly, please check Error: Grouper and axis must be same length
number of proteins with AA change: 129
finished running perChrom for chromosome: 1
total number of proteins with AA mutation: 129
remove temp folder
finished!
total number of changed proteins from two strands of chromosome: 219. After removing protein seq_id with the same mutations, 142 sequences left. After remove protein seq_id with same final sequence, 142 sequences left.
proteins changed in at least one strand: 129. Proteins changed in both strands: 90. Proteins changed in both strands and the mutation in both strands are identical: 77. Proteins changed in both strands, the final protein sequences are identical but the mutations are different: 0
perGeno_vcf finished!
PrecisionProDB finished! Total seconds: 10.278377771377563
Command finished in 11.14 seconds
running test with key_input: Ensembl, key_variant: vcf, sqlite_key: sqlite_one_step
Running test: use SQLite file as intermediate file
/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite exists. Removing it.
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/sqlite_one_step && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/celline.vcf.gz -g /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/sqlite_one_step/Ensembl.vcf.sqlite_one_step -a Ensembl_GTF --PEFF -t 4 -S /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
Namespace(genome='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz', gtf='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz', mutations='/data/p/xiaolong/PrecisionProDB/examples/celline.vcf.gz', protein='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/sqlite_one_step/Ensembl.vcf.sqlite_one_step', datatype='Ensembl_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite')
using sqlite database to speed up
running in sqlite mode
sqlite file "/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite" does not exist, create one first
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
file_mutation is not provided, skip splitting mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
1 No mutation file provided, will not do mutation analysis
from the protein file, totally 663 protein sequences.
finish reading genome file
number of proteins from the gtf file 663
finishing get locs and frame
building sqlite done
remove temp folder
finished!
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
variant file is a vcf file
start extracting mutation file from the vcf input
individual is None, select the first sample in vcf file, which is HEK293
before QC, sites with mutations: 26922 of which, homozyous sites: 11242
after QC, number of variants in two dataframes are: 11094 26604
finished extracting mutations from the vcf file
start running PrecisionProDB for first strand of the genome mutation file
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
finish splitting the mutation file
/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/sqlite_one_step/Ensembl.vcf.sqlite_one_step.vcf2mutation_1.tsv
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
run perChrom for chromosome 1
ENSP00000482090 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000482090, the original provided protein sequence is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC
ENSP00000478421 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
ENSP00000482090 cannot be processed properly, please check Error: Grouper and axis must be same length
warning! protein ENSP00000478421, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHGSCLSRPPCCRRRMPLTSPWAPISGPPSWGCPRLCARPQATASCPPRRRRCSPGSRSSCGSRTWPGWSCPPTSCGRRSWRARAHSCWRPRPPCAPTTAPRSCSGAGPCWC
ENSP00000478421 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000480678 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000480678, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSGCSSEGPQWPGSPPALLHGRSASEAGPGSAPGGRRPSCRPVLLGEGAASAAPLAVAAECPSRRPGPPSQAPLPGGALGSVPDPRLRLPAPRAGGDVRLAAGAPAEAEPGPAGAARRPPAAEGAGERAPTAAGARDRPAPQRRRRGAAAARGPAGAEPRRGATAGPAPPGAPGLRTPHPVPGLCPASPPEGGSRPCLSAAQRVQGDDGG
ENSP00000480678 cannot be processed properly, please check Error: Grouper and axis must be same length
number of proteins with AA change: 90
finished running perchrom_sqlite for chromosome: 1
total number of proteins with AA mutation: 90
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
remove temp folder
finished!
start running PrecisionProDB for second strand of the genome mutation file
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
finish splitting the mutation file
/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/sqlite_one_step/Ensembl.vcf.sqlite_one_step.vcf2mutation_2.tsv
run perChrom for chromosome 1
ENSP00000478421 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000478421, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHGSCLSRPPCCRRRMPLTSPWAPISGPPSWGCPRLCARPQATASCPPRRRRCSPGSRSSCGSRTWPGWSCPPTSCGRRSWRARAHSCWRPRPPCAPTTAPRSCSGAGPCWC
ENSP00000478421 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000480678 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000480678, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSGCSSEGPQWPGSPPALLHGRSASEAGPGSAPGGRRPSCRPVLLGEGAASAAPLAVAAECPSRRPGPPSQAPLPGGALGSVPDPRLRLPAPRAGGDVRLAAGAPAEAEPGPAGAARRPPAAEGAGERAPTAAGARDRPAPQRRRRGAAAARGPAGAEPRRGATAGPAPPGAPGLRTPHPVPGLCPASPPEGGSRPCLSAAQRVQGDDGG
ENSP00000480678 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000482090 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000482090, the original provided protein sequence is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC
ENSP00000482090 cannot be processed properly, please check Error: Grouper and axis must be same length
number of proteins with AA change: 129
finished running perchrom_sqlite for chromosome: 1
total number of proteins with AA mutation: 129
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
remove temp folder
finished!
total number of changed proteins from two strands of chromosome: 219. After removing protein seq_id with the same mutations, 142 sequences left. After remove protein seq_id with same final sequence, 142 sequences left.
proteins changed in at least one strand: 129. Proteins changed in both strands: 90. Proteins changed in both strands and the mutation in both strands are identical: 77. Proteins changed in both strands, the final protein sequences are identical but the mutations are different: 0
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
perGeno_vcf finished!
PrecisionProDB finished! Total seconds: 12.158420085906982
Command finished in 12.91 seconds
running test with key_input: Ensembl, key_variant: vcf, sqlite_key: sqlite_two_step
Running test: Generate SQLite file in advance and use SQLite
/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite exists. Removing it.
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/sqlite_two_step && python /data/p/xiaolong/PrecisionProDB/src/buildSqlite.py -S /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite -g /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz -a Ensembl_GTF && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/celline.vcf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/sqlite_two_step/Ensembl.vcf.sqlite_two_step -a Ensembl_GTF --PEFF -t 4 -S /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
file_mutation is not provided, skip splitting mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
1 No mutation file provided, will not do mutation analysis
from the protein file, totally 663 protein sequences.
finish reading genome file
number of proteins from the gtf file 663
finishing get locs and frame
building sqlite done
remove temp folder
finished!
SQLite creation complete.
Namespace(genome='', gtf='', mutations='/data/p/xiaolong/PrecisionProDB/examples/celline.vcf.gz', protein='', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/sqlite_two_step/Ensembl.vcf.sqlite_two_step', datatype='Ensembl_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite')
using sqlite database to speed up
running in sqlite mode
use existing sqlite file "/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite" for gene annotation
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
variant file is a vcf file
start extracting mutation file from the vcf input
individual is None, select the first sample in vcf file, which is HEK293
before QC, sites with mutations: 26922 of which, homozyous sites: 11242
after QC, number of variants in two dataframes are: 11094 26604
finished extracting mutations from the vcf file
start running PrecisionProDB for first strand of the genome mutation file
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
finish splitting the mutation file
/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/sqlite_two_step/Ensembl.vcf.sqlite_two_step.vcf2mutation_1.tsv
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
run perChrom for chromosome 1
ENSP00000478421 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
ENSP00000482090 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000478421, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHGSCLSRPPCCRRRMPLTSPWAPISGPPSWGCPRLCARPQATASCPPRRRRCSPGSRSSCGSRTWPGWSCPPTSCGRRSWRARAHSCWRPRPPCAPTTAPRSCSGAGPCWC
ENSP00000478421 cannot be processed properly, please check Error: Grouper and axis must be same length
warning! protein ENSP00000482090, the original provided protein sequence is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC
ENSP00000482090 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000480678 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000480678, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSGCSSEGPQWPGSPPALLHGRSASEAGPGSAPGGRRPSCRPVLLGEGAASAAPLAVAAECPSRRPGPPSQAPLPGGALGSVPDPRLRLPAPRAGGDVRLAAGAPAEAEPGPAGAARRPPAAEGAGERAPTAAGARDRPAPQRRRRGAAAARGPAGAEPRRGATAGPAPPGAPGLRTPHPVPGLCPASPPEGGSRPCLSAAQRVQGDDGG
ENSP00000480678 cannot be processed properly, please check Error: Grouper and axis must be same length
number of proteins with AA change: 90
finished running perchrom_sqlite for chromosome: 1
total number of proteins with AA mutation: 90
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
remove temp folder
finished!
start running PrecisionProDB for second strand of the genome mutation file
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
finish splitting the mutation file
/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/vcf/sqlite_two_step/Ensembl.vcf.sqlite_two_step.vcf2mutation_2.tsv
run perChrom for chromosome 1
ENSP00000478421 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000478421, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHGSCLSRPPCCRRRMPLTSPWAPISGPPSWGCPRLCARPQATASCPPRRRRCSPGSRSSCGSRTWPGWSCPPTSCGRRSWRARAHSCWRPRPPCAPTTAPRSCSGAGPCWC
ENSP00000478421 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000480678 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000480678, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSGCSSEGPQWPGSPPALLHGRSASEAGPGSAPGGRRPSCRPVLLGEGAASAAPLAVAAECPSRRPGPPSQAPLPGGALGSVPDPRLRLPAPRAGGDVRLAAGAPAEAEPGPAGAARRPPAAEGAGERAPTAAGARDRPAPQRRRRGAAAARGPAGAEPRRGATAGPAPPGAPGLRTPHPVPGLCPASPPEGGSRPCLSAAQRVQGDDGG
ENSP00000480678 cannot be processed properly, please check Error: Grouper and axis must be same length
ENSP00000482090 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000482090, the original provided protein sequence is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC
ENSP00000482090 cannot be processed properly, please check Error: Grouper and axis must be same length
number of proteins with AA change: 129
finished running perchrom_sqlite for chromosome: 1
total number of proteins with AA mutation: 129
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
remove temp folder
finished!
total number of changed proteins from two strands of chromosome: 219. After removing protein seq_id with the same mutations, 142 sequences left. After remove protein seq_id with same final sequence, 142 sequences left.
proteins changed in at least one strand: 129. Proteins changed in both strands: 90. Proteins changed in both strands and the mutation in both strands are identical: 77. Proteins changed in both strands, the final protein sequences are identical but the mutations are different: 0
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
perGeno_vcf finished!
PrecisionProDB finished! Total seconds: 10.67515230178833
Command finished in 14.16 seconds
running test with key_input: Ensembl, key_variant: str, sqlite_key: sqlite_one_step
Running test: use SQLite file as intermediate file
/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite exists. Removing it.
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/str/sqlite_one_step && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m chr1-942451-T-C,1-6253878-C-T,1-2194700-C-G,1-1719406-G-A -g /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/str/sqlite_one_step/Ensembl.str.sqlite_one_step -a Ensembl_GTF --PEFF -t 4 -S /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
Namespace(genome='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz', gtf='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz', mutations='chr1-942451-T-C,1-6253878-C-T,1-2194700-C-G,1-1719406-G-A', protein='/data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/str/sqlite_one_step/Ensembl.str.sqlite_one_step', datatype='Ensembl_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite')
using sqlite database to speed up
running in sqlite mode
sqlite file "/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite" does not exist, create one first
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
file_mutation is not provided, skip splitting mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
1 No mutation file provided, will not do mutation analysis
from the protein file, totally 663 protein sequences.
finish reading genome file
number of proteins from the gtf file 663
finishing get locs and frame
building sqlite done
remove temp folder
finished!
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
file_mutations is a mutation string chr1-942451-T-C,1-6253878-C-T,1-2194700-C-G,1-1719406-G-A
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
run perChrom for chromosome 1
ENSP00000480678 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
ENSP00000478421 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000480678, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSGCSSEGPQWPGSPPALLHGRSASEAGPGSAPGGRRPSCRPVLLGEGAASAAPLAVAAECPSRRPGPPSQAPLPGGALGSVPDPRLRLPAPRAGGDVRLAAGAPAEAEPGPAGAARRPPAAEGAGERAPTAAGARDRPAPQRRRRGAAAARGPAGAEPRRGATAGPAPPGAPGLRTPHPVPGLCPASPPEGGSRPCLSAAQRVQGDDGG
ENSP00000482090 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
ENSP00000480678 cannot be processed properly, please check Error: Grouper and axis must be same length
warning! protein ENSP00000478421, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHGSCLSRPPCCRRRMPLTSPWAPISGPPSWGCPRLCARPQATASCPPRRRRCSPGSRSSCGSRTWPGWSCPPTSCGRRSWRARAHSCWRPRPPCAPTTAPRSCSGAGPCWC
ENSP00000478421 cannot be processed properly, please check Error: Grouper and axis must be same length
warning! protein ENSP00000482090, the original provided protein sequence is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC
ENSP00000482090 cannot be processed properly, please check Error: Grouper and axis must be same length
number of proteins with AA change: 24
remove temp folder
finished!
PrecisionProDB finished! Total seconds: 2.2501449584960938
Command finished in 3.06 seconds
running test with key_input: Ensembl, key_variant: str, sqlite_key: sqlite_two_step
Running test: Generate SQLite file in advance and use SQLite
/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite exists. Removing it.
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/str/sqlite_two_step && python /data/p/xiaolong/PrecisionProDB/src/buildSqlite.py -S /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite -g /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/Ensembl/Ensembl.gtf.gz -a Ensembl_GTF && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m chr1-942451-T-C,1-6253878-C-T,1-2194700-C-G,1-1719406-G-A -o /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/str/sqlite_two_step/Ensembl.str.sqlite_two_step -a Ensembl_GTF --PEFF -t 4 -S /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
input data is provided as from Ensembl_GTF. Note: for some Ensembl models, the protein sequences are not translated based on GTF annotation. Those sequences will be ignored.
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
file_mutation is not provided, skip splitting mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
1 No mutation file provided, will not do mutation analysis
from the protein file, totally 663 protein sequences.
finish reading genome file
number of proteins from the gtf file 663
finishing get locs and frame
building sqlite done
remove temp folder
finished!
SQLite creation complete.
Namespace(genome='', gtf='', mutations='chr1-942451-T-C,1-6253878-C-T,1-2194700-C-G,1-1719406-G-A', protein='', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/str/sqlite_two_step/Ensembl.str.sqlite_two_step', datatype='Ensembl_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite')
using sqlite database to speed up
running in sqlite mode
use existing sqlite file "/data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite" for gene annotation
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
file_mutations is a mutation string chr1-942451-T-C,1-6253878-C-T,1-2194700-C-G,1-1719406-G-A
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/Ensembl/Ensembl.sqlite
run perChrom for chromosome 1
ENSP00000478421 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
ENSP00000480678 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
ENSP00000482090 input protein sequences cannot be translated from the CDS sequence in gtf annotation.
warning! protein ENSP00000478421, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHGSCLSRPPCCRRRMPLTSPWAPISGPPSWGCPRLCARPQATASCPPRRRRCSPGSRSSCGSRTWPGWSCPPTSCGRRSWRARAHSCWRPRPPCAPTTAPRSCSGAGPCWC
ENSP00000478421 cannot be processed properly, please check Error: Grouper and axis must be same length
warning! protein ENSP00000480678, the original provided protein sequence is MPAVKKEFPGREDLALALATFHPTLAALPLPPLPGYLAPLPAAAALPPAASLPASAAGYEALLAPPLRPPRAYLSLHEAAPHLHLPRDPLALERFSATAAAAPDFQPLLDNGEPCIEVECGANRALLYVRKLCQGSKGPSIRHRGEWLTPNEFQFVSGRETAKDWKRSIRHKGKSLKTLMSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSGCSSEGPQWPGSPPALLHGRSASEAGPGSAPGGRRPSCRPVLLGEGAASAAPLAVAAECPSRRPGPPSQAPLPGGALGSVPDPRLRLPAPRAGGDVRLAAGAPAEAEPGPAGAARRPPAAEGAGERAPTAAGARDRPAPQRRRRGAAAARGPAGAEPRRGATAGPAPPGAPGLRTPHPVPGLCPASPPEGGSRPCLSAAQRVQGDDGG
ENSP00000480678 cannot be processed properly, please check Error: Grouper and axis must be same length
warning! protein ENSP00000482090, the original provided protein sequence is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQAEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHGEDPPWHDPPHHLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGQRRKQGLAQHREGAAPAAAPSFSERELPQPPPLLSPQNAPHVALGPHLRPPFLGVPSALCQTPGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC and translated protein sequence from the GTF annotation is MSKGILQVHPPICDCPGCRISSPVNRGRLADKRTVALPAARNLKKERTPSFSASDGDSDGSGPTCGRRPGLKQEDGPHIRIMKRRVHTHWDVNISFREASCSQDGNLPTLISSVHRSRHLVMPEHQSRCEFQRGSLEIGLRPAGDLLGKRLGRSPRISSDCFSEKRARSESPQEALLLPRELGPSMAPEDHYRRLVSALSEASTFEDPQRLYHLGLPSHDLLRVRQEVAAAALRGPSGLEAHLPSSTAGYGFLPPAQAEMFAWQQELLRKQNLARLELPADLLRQKELESARPQLLAPETALRPNDGAEELQRRGALLVLNHGAAPLLALPPQGPPGSGPPTPSRDSARRAPRKGGPGPASARPSESKEMTGARLWAQDGSEDEPPKDSDGEDPETAAVGCRGPTPGQAPAGGAGAEGKGLFPGSTLPLGFPYAVSPYFHTGAVGGLSMDGEEAPAPEDVTKWTVDDVCSFVGGLSGCGEYTRVFREQGIDGETLPLLTEEHLLTNMGLKLGPALKIRAQVARRLGRVFYVASFPVALPLQPPTLRAPERELGTGEQPLSPTTATSPYGGGHALAGQTSPKQENGTLALLPGAPDPSQPLC
ENSP00000482090 cannot be processed properly, please check Error: Grouper and axis must be same length
number of proteins with AA change: 24
remove temp folder
finished!
PrecisionProDB finished! Total seconds: 0.4944791793823242
Command finished in 3.96 seconds
running test with key_input: GENCODE, key_variant: tsv, sqlite_key: no_sqlite
Running test: without use sqlite file
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/tsv/no_sqlite && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz -g /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/tsv/no_sqlite/GENCODE.tsv.no_sqlite -a GENCODE_GTF --PEFF -t 4
Namespace(genome='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz', gtf='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz', mutations='/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz', protein='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/tsv/no_sqlite/GENCODE.tsv.no_sqlite', datatype='GENCODE_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='')
variant file is a tsv file
input data is provided as from GENCODE_GTF
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
add "chr" to chromosome 1 in mutation file
finish splitting the mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
started running perChrom for chromosome: chr1
from the protein file, totally 1154 protein sequences.
finish reading genome file
number of proteins from the gtf file 1154
finishing get locs and frame
transcripts with no mutations: 665
transcripts with mutations in CDSplus: 489
number of proteins with AA change: 161
finished running perChrom for chromosome: chr1
total number of proteins with AA mutation: 161
remove temp folder
finished!
PrecisionProDB finished! Total seconds: 12.404561996459961
Command finished in 13.28 seconds
running test with key_input: GENCODE, key_variant: tsv, sqlite_key: sqlite_one_step
Running test: use SQLite file as intermediate file
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/tsv/sqlite_one_step && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz -g /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/tsv/sqlite_one_step/GENCODE.tsv.sqlite_one_step -a GENCODE_GTF --PEFF -t 4 -S /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
Namespace(genome='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz', gtf='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz', mutations='/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz', protein='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/tsv/sqlite_one_step/GENCODE.tsv.sqlite_one_step', datatype='GENCODE_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite')
using sqlite database to speed up
running in sqlite mode
sqlite file "/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite" does not exist, create one first
input data is provided as from GENCODE_GTF
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
file_mutation is not provided, skip splitting mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
chr1 No mutation file provided, will not do mutation analysis
from the protein file, totally 1154 protein sequences.
finish reading genome file
number of proteins from the gtf file 1154
finishing get locs and frame
building sqlite done
remove temp folder
finished!
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
variant file is a tsv file
input data is provided as from GENCODE_GTF
add "chr" to chromosome 1 in mutation file
finish splitting the mutation file
/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
run perChrom for chromosome chr1
number of proteins with AA change: 161
finished running perchrom_sqlite for chromosome: chr1
total number of proteins with AA mutation: 161
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
remove temp folder
finished!
PrecisionProDB finished! Total seconds: 16.49066972732544
Command finished in 17.29 seconds
running test with key_input: GENCODE, key_variant: tsv, sqlite_key: sqlite_two_step
Running test: Generate SQLite file in advance and use SQLite
/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite exists. Removing it.
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/tsv/sqlite_two_step && python /data/p/xiaolong/PrecisionProDB/src/buildSqlite.py -S /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite -g /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz -a GENCODE_GTF && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz -o /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/tsv/sqlite_two_step/GENCODE.tsv.sqlite_two_step -a GENCODE_GTF --PEFF -t 4 -S /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
input data is provided as from GENCODE_GTF
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
file_mutation is not provided, skip splitting mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
chr1 No mutation file provided, will not do mutation analysis
from the protein file, totally 1154 protein sequences.
finish reading genome file
number of proteins from the gtf file 1154
finishing get locs and frame
building sqlite done
remove temp folder
finished!
SQLite creation complete.
Namespace(genome='', gtf='', mutations='/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz', protein='', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/tsv/sqlite_two_step/GENCODE.tsv.sqlite_two_step', datatype='GENCODE_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite')
using sqlite database to speed up
running in sqlite mode
use existing sqlite file "/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite" for gene annotation
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
variant file is a tsv file
input data is provided as from GENCODE_GTF
add "chr" to chromosome 1 in mutation file
finish splitting the mutation file
/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
run perChrom for chromosome chr1
number of proteins with AA change: 161
finished running perchrom_sqlite for chromosome: chr1
total number of proteins with AA mutation: 161
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
remove temp folder
finished!
PrecisionProDB finished! Total seconds: 10.553922891616821
Command finished in 18.11 seconds
running test with key_input: GENCODE, key_variant: vcf, sqlite_key: no_sqlite
Running test: without use sqlite file
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/no_sqlite && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/celline.vcf.gz -g /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/no_sqlite/GENCODE.vcf.no_sqlite -a GENCODE_GTF --PEFF -t 4
Namespace(genome='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz', gtf='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz', mutations='/data/p/xiaolong/PrecisionProDB/examples/celline.vcf.gz', protein='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/no_sqlite/GENCODE.vcf.no_sqlite', datatype='GENCODE_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='')
variant file is a vcf file
start extracting mutation file from the vcf input
individual is None, select the first sample in vcf file, which is HEK293
before QC, sites with mutations: 26922 of which, homozyous sites: 11242
after QC, number of variants in two dataframes are: 11094 26604
finished extracting mutations from the vcf file
start running PrecisionProDB for first strand of the genome mutation file
input data is provided as from GENCODE_GTF
{'file_genome': '/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz', 'file_gtf': '/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz', 'file_mutations': '/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/no_sqlite/GENCODE.vcf.no_sqlite.vcf2mutation_1.tsv', 'file_protein': '/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz', 'threads': 4, 'outprefix': '/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/no_sqlite/GENCODE.vcf.no_sqlite_1', 'datatype': 'GENCODE_GTF', 'protein_keyword': 'transcript_id', 'keep_all': False, 'tempfolder': '/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/no_sqlite/GENCODE.vcf.no_sqlite_1_temp', 'chromosomes_genome': None, 'chromosomes_genome_description': None, 'chromosomes_mutation': None, 'chromosomes_gtf': None}
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
add "chr" to chromosome 1 in mutation file
finish splitting the mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
started running perChrom for chromosome: chr1
from the protein file, totally 1154 protein sequences.
finish reading genome file
number of proteins from the gtf file 1154
finishing get locs and frame
transcripts with no mutations: 766
transcripts with mutations in CDSplus: 388
number of proteins with AA change: 136
finished running perChrom for chromosome: chr1
total number of proteins with AA mutation: 136
remove temp folder
finished!
start running PrecisionProDB for second strand of the genome mutation file
input data is provided as from GENCODE_GTF
{'file_genome': '/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz', 'file_gtf': '/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz', 'file_mutations': '/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/no_sqlite/GENCODE.vcf.no_sqlite.vcf2mutation_1.tsv', 'file_protein': '/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz', 'threads': 4, 'outprefix': '/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/no_sqlite/GENCODE.vcf.no_sqlite_1', 'datatype': 'GENCODE_GTF', 'protein_keyword': 'transcript_id', 'keep_all': False, 'tempfolder': '/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/no_sqlite/GENCODE.vcf.no_sqlite_1_temp', 'chromosomes_genome': ['chr1'], 'chromosomes_genome_description': ['chr1 1'], 'chromosomes_mutation': ['chr1'], 'chromosomes_gtf': ['chr1'], 'chromosomes_protein': ['chr1'], 'chromosomes': ['chr1']}
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
add "chr" to chromosome 1 in mutation file
finish splitting the mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
started running perChrom for chromosome: chr1
from the protein file, totally 1154 protein sequences.
finish reading genome file
number of proteins from the gtf file 1154
finishing get locs and frame
transcripts with no mutations: 559
transcripts with mutations in CDSplus: 595
number of proteins with AA change: 249
finished running perChrom for chromosome: chr1
total number of proteins with AA mutation: 249
remove temp folder
finished!
total number of changed proteins from two strands of chromosome: 385. After removing protein seq_id with the same mutations, 271 sequences left. After remove protein seq_id with same final sequence, 271 sequences left.
proteins changed in at least one strand: 249. Proteins changed in both strands: 136. Proteins changed in both strands and the mutation in both strands are identical: 114. Proteins changed in both strands, the final protein sequences are identical but the mutations are different: 0
perGeno_vcf finished!
PrecisionProDB finished! Total seconds: 24.511504650115967
Command finished in 25.33 seconds
running test with key_input: GENCODE, key_variant: vcf, sqlite_key: sqlite_one_step
Running test: use SQLite file as intermediate file
/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite exists. Removing it.
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/sqlite_one_step && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/celline.vcf.gz -g /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/sqlite_one_step/GENCODE.vcf.sqlite_one_step -a GENCODE_GTF --PEFF -t 4 -S /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
Namespace(genome='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz', gtf='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz', mutations='/data/p/xiaolong/PrecisionProDB/examples/celline.vcf.gz', protein='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/sqlite_one_step/GENCODE.vcf.sqlite_one_step', datatype='GENCODE_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite')
using sqlite database to speed up
running in sqlite mode
sqlite file "/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite" does not exist, create one first
input data is provided as from GENCODE_GTF
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
file_mutation is not provided, skip splitting mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
chr1 No mutation file provided, will not do mutation analysis
from the protein file, totally 1154 protein sequences.
finish reading genome file
number of proteins from the gtf file 1154
finishing get locs and frame
building sqlite done
remove temp folder
finished!
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
variant file is a vcf file
start extracting mutation file from the vcf input
individual is None, select the first sample in vcf file, which is HEK293
before QC, sites with mutations: 26922 of which, homozyous sites: 11242
after QC, number of variants in two dataframes are: 11094 26604
finished extracting mutations from the vcf file
start running PrecisionProDB for first strand of the genome mutation file
input data is provided as from GENCODE_GTF
add "chr" to chromosome 1 in mutation file
finish splitting the mutation file
/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/sqlite_one_step/GENCODE.vcf.sqlite_one_step.vcf2mutation_1.tsv
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
run perChrom for chromosome chr1
number of proteins with AA change: 136
finished running perchrom_sqlite for chromosome: chr1
total number of proteins with AA mutation: 136
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
remove temp folder
finished!
start running PrecisionProDB for second strand of the genome mutation file
input data is provided as from GENCODE_GTF
add "chr" to chromosome 1 in mutation file
finish splitting the mutation file
/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/sqlite_one_step/GENCODE.vcf.sqlite_one_step.vcf2mutation_2.tsv
run perChrom for chromosome chr1
number of proteins with AA change: 249
finished running perchrom_sqlite for chromosome: chr1
total number of proteins with AA mutation: 249
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
remove temp folder
finished!
total number of changed proteins from two strands of chromosome: 385. After removing protein seq_id with the same mutations, 271 sequences left. After remove protein seq_id with same final sequence, 271 sequences left.
proteins changed in at least one strand: 249. Proteins changed in both strands: 136. Proteins changed in both strands and the mutation in both strands are identical: 114. Proteins changed in both strands, the final protein sequences are identical but the mutations are different: 0
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
perGeno_vcf finished!
PrecisionProDB finished! Total seconds: 28.467210054397583
Command finished in 29.43 seconds
running test with key_input: GENCODE, key_variant: vcf, sqlite_key: sqlite_two_step
Running test: Generate SQLite file in advance and use SQLite
/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite exists. Removing it.
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/sqlite_two_step && python /data/p/xiaolong/PrecisionProDB/src/buildSqlite.py -S /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite -g /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz -a GENCODE_GTF && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/celline.vcf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/sqlite_two_step/GENCODE.vcf.sqlite_two_step -a GENCODE_GTF --PEFF -t 4 -S /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
input data is provided as from GENCODE_GTF
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
file_mutation is not provided, skip splitting mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
chr1 No mutation file provided, will not do mutation analysis
from the protein file, totally 1154 protein sequences.
finish reading genome file
number of proteins from the gtf file 1154
finishing get locs and frame
building sqlite done
remove temp folder
finished!
SQLite creation complete.
Namespace(genome='', gtf='', mutations='/data/p/xiaolong/PrecisionProDB/examples/celline.vcf.gz', protein='', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/sqlite_two_step/GENCODE.vcf.sqlite_two_step', datatype='GENCODE_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite')
using sqlite database to speed up
running in sqlite mode
use existing sqlite file "/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite" for gene annotation
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
variant file is a vcf file
start extracting mutation file from the vcf input
individual is None, select the first sample in vcf file, which is HEK293
before QC, sites with mutations: 26922 of which, homozyous sites: 11242
after QC, number of variants in two dataframes are: 11094 26604
finished extracting mutations from the vcf file
start running PrecisionProDB for first strand of the genome mutation file
input data is provided as from GENCODE_GTF
add "chr" to chromosome 1 in mutation file
finish splitting the mutation file
/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/sqlite_two_step/GENCODE.vcf.sqlite_two_step.vcf2mutation_1.tsv
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
run perChrom for chromosome chr1
number of proteins with AA change: 136
finished running perchrom_sqlite for chromosome: chr1
total number of proteins with AA mutation: 136
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
remove temp folder
finished!
start running PrecisionProDB for second strand of the genome mutation file
input data is provided as from GENCODE_GTF
add "chr" to chromosome 1 in mutation file
finish splitting the mutation file
/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/vcf/sqlite_two_step/GENCODE.vcf.sqlite_two_step.vcf2mutation_2.tsv
run perChrom for chromosome chr1
number of proteins with AA change: 249
finished running perchrom_sqlite for chromosome: chr1
total number of proteins with AA mutation: 249
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
remove temp folder
finished!
total number of changed proteins from two strands of chromosome: 385. After removing protein seq_id with the same mutations, 271 sequences left. After remove protein seq_id with same final sequence, 271 sequences left.
proteins changed in at least one strand: 249. Proteins changed in both strands: 136. Proteins changed in both strands and the mutation in both strands are identical: 114. Proteins changed in both strands, the final protein sequences are identical but the mutations are different: 0
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
perGeno_vcf finished!
PrecisionProDB finished! Total seconds: 22.309823274612427
Command finished in 29.92 seconds
running test with key_input: GENCODE, key_variant: str, sqlite_key: sqlite_one_step
Running test: use SQLite file as intermediate file
/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite exists. Removing it.
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/str/sqlite_one_step && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m chr1-942451-T-C,1-6253878-C-T,1-2194700-C-G,1-1719406-G-A -g /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/str/sqlite_one_step/GENCODE.str.sqlite_one_step -a GENCODE_GTF --PEFF -t 4 -S /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
Namespace(genome='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz', gtf='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz', mutations='chr1-942451-T-C,1-6253878-C-T,1-2194700-C-G,1-1719406-G-A', protein='/data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/str/sqlite_one_step/GENCODE.str.sqlite_one_step', datatype='GENCODE_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite')
using sqlite database to speed up
running in sqlite mode
sqlite file "/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite" does not exist, create one first
input data is provided as from GENCODE_GTF
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
file_mutation is not provided, skip splitting mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
chr1 No mutation file provided, will not do mutation analysis
from the protein file, totally 1154 protein sequences.
finish reading genome file
number of proteins from the gtf file 1154
finishing get locs and frame
building sqlite done
remove temp folder
finished!
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
file_mutations is a mutation string chr1-942451-T-C,1-6253878-C-T,1-2194700-C-G,1-1719406-G-A
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
run perChrom for chromosome chr1
number of proteins with AA change: 27
remove temp folder
finished!
PrecisionProDB finished! Total seconds: 6.177743911743164
Command finished in 7.03 seconds
running test with key_input: GENCODE, key_variant: str, sqlite_key: sqlite_two_step
Running test: Generate SQLite file in advance and use SQLite
/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite exists. Removing it.
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/str/sqlite_two_step && python /data/p/xiaolong/PrecisionProDB/src/buildSqlite.py -S /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite -g /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/GENCODE/GENCODE.gtf.gz -a GENCODE_GTF && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m chr1-942451-T-C,1-6253878-C-T,1-2194700-C-G,1-1719406-G-A -o /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/str/sqlite_two_step/GENCODE.str.sqlite_two_step -a GENCODE_GTF --PEFF -t 4 -S /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
input data is provided as from GENCODE_GTF
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
file_mutation is not provided, skip splitting mutation file
finish splitting the gtf file
number of chromosomes with proteins: 1
chr1 No mutation file provided, will not do mutation analysis
from the protein file, totally 1154 protein sequences.
finish reading genome file
number of proteins from the gtf file 1154
finishing get locs and frame
building sqlite done
remove temp folder
finished!
SQLite creation complete.
Namespace(genome='', gtf='', mutations='chr1-942451-T-C,1-6253878-C-T,1-2194700-C-G,1-1719406-G-A', protein='', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/str/sqlite_two_step/GENCODE.str.sqlite_two_step', datatype='GENCODE_GTF', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite')
using sqlite database to speed up
running in sqlite mode
use existing sqlite file "/data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite" for gene annotation
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
file_mutations is a mutation string chr1-942451-T-C,1-6253878-C-T,1-2194700-C-G,1-1719406-G-A
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/GENCODE/GENCODE.sqlite
run perChrom for chromosome chr1
number of proteins with AA change: 27
remove temp folder
finished!
PrecisionProDB finished! Total seconds: 0.5567793846130371
Command finished in 7.89 seconds
running test with key_input: RefSeq, key_variant: tsv, sqlite_key: no_sqlite
Running test: without use sqlite file
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/tsv/no_sqlite && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz -g /data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.gtf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/tsv/no_sqlite/RefSeq.tsv.no_sqlite -a RefSeq --PEFF -t 4
Namespace(genome='/data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.genome.fa.gz', gtf='/data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.gtf.gz', mutations='/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz', protein='/data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.protein.fa.gz', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/RefSeq/tsv/no_sqlite/RefSeq.tsv.no_sqlite', datatype='RefSeq', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='')
variant file is a tsv file
input data is provided as from RefSeq
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
chromosomes in mutation file is different from the genome. try to solve that. This is usually True if datatype is RefSeq
mutation chromosome change 1 to NC_000001.11
finish splitting the mutation file
protein-chromosome is already determined in file /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/tsv/no_sqlite/RefSeq.tsv.no_sqlite_temp/protein2chr.pickle, use previous result
finish splitting the gtf file
number of chromosomes with proteins: 1
started running perChrom for chromosome: NC_000001.11
from the protein file, totally 738 protein sequences.
finish reading genome file
number of proteins from the gtf file 738
finishing get locs and frame
transcripts with no mutations: 481
transcripts with mutations in CDSplus: 257
number of proteins with AA change: 152
finished running perChrom for chromosome: NC_000001.11
total number of proteins with AA mutation: 152
remove temp folder
finished!
PrecisionProDB finished! Total seconds: 6.483970880508423
Command finished in 7.29 seconds
running test with key_input: RefSeq, key_variant: tsv, sqlite_key: sqlite_one_step
Running test: use SQLite file as intermediate file
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/tsv/sqlite_one_step && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz -g /data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.gtf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/tsv/sqlite_one_step/RefSeq.tsv.sqlite_one_step -a RefSeq --PEFF -t 4 -S /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/RefSeq.sqlite
Namespace(genome='/data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.genome.fa.gz', gtf='/data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.gtf.gz', mutations='/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz', protein='/data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.protein.fa.gz', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/RefSeq/tsv/sqlite_one_step/RefSeq.tsv.sqlite_one_step', datatype='RefSeq', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='/data/p/xiaolong/PrecisionProDB/test_output/RefSeq/RefSeq.sqlite')
using sqlite database to speed up
running in sqlite mode
sqlite file "/data/p/xiaolong/PrecisionProDB/test_output/RefSeq/RefSeq.sqlite" does not exist, create one first
input data is provided as from RefSeq
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
file_mutation is not provided, skip splitting mutation file
protein-chromosome is already determined in file /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/tsv/sqlite_one_step/RefSeq.tsv.sqlite_one_step_temp/protein2chr.pickle, use previous result
finish splitting the gtf file
number of chromosomes with proteins: 1
NC_000001.11 No mutation file provided, will not do mutation analysis
from the protein file, totally 738 protein sequences.
finish reading genome file
number of proteins from the gtf file 738
finishing get locs and frame
building sqlite done
remove temp folder
finished!
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/RefSeq.sqlite
variant file is a tsv file
input data is provided as from RefSeq
chromosomes in mutation file is different from the genome. try to solve that. This is usually True if datatype is RefSeq
mutation chromosome change 1 to NC_000001.11
finish splitting the mutation file
/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/RefSeq.sqlite
run perChrom for chromosome NC_000001.11
number of proteins with AA change: 152
finished running perchrom_sqlite for chromosome: NC_000001.11
total number of proteins with AA mutation: 152
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/RefSeq.sqlite
remove temp folder
finished!
PrecisionProDB finished! Total seconds: 8.597932815551758
Command finished in 9.42 seconds
running test with key_input: RefSeq, key_variant: tsv, sqlite_key: sqlite_two_step
Running test: Generate SQLite file in advance and use SQLite
/data/p/xiaolong/PrecisionProDB/test_output/RefSeq/RefSeq.sqlite exists. Removing it.
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/tsv/sqlite_two_step && python /data/p/xiaolong/PrecisionProDB/src/buildSqlite.py -S /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/RefSeq.sqlite -g /data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.gtf.gz -a RefSeq && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz -o /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/tsv/sqlite_two_step/RefSeq.tsv.sqlite_two_step -a RefSeq --PEFF -t 4 -S /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/RefSeq.sqlite
input data is provided as from RefSeq
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
file_mutation is not provided, skip splitting mutation file
protein-chromosome is already determined in file perGeno_temp/protein2chr.pickle, use previous result
finish splitting the gtf file
number of chromosomes with proteins: 1
NC_000001.11 No mutation file provided, will not do mutation analysis
from the protein file, totally 738 protein sequences.
finish reading genome file
number of proteins from the gtf file 738
finishing get locs and frame
building sqlite done
remove temp folder
finished!
SQLite creation complete.
Namespace(genome='', gtf='', mutations='/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz', protein='', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/RefSeq/tsv/sqlite_two_step/RefSeq.tsv.sqlite_two_step', datatype='RefSeq', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='/data/p/xiaolong/PrecisionProDB/test_output/RefSeq/RefSeq.sqlite')
using sqlite database to speed up
running in sqlite mode
use existing sqlite file "/data/p/xiaolong/PrecisionProDB/test_output/RefSeq/RefSeq.sqlite" for gene annotation
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/RefSeq.sqlite
variant file is a tsv file
input data is provided as from RefSeq
chromosomes in mutation file is different from the genome. try to solve that. This is usually True if datatype is RefSeq
mutation chromosome change 1 to NC_000001.11
finish splitting the mutation file
/data/p/xiaolong/PrecisionProDB/examples/gnomAD.variant.txt.gz
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/RefSeq.sqlite
run perChrom for chromosome NC_000001.11
number of proteins with AA change: 152
finished running perchrom_sqlite for chromosome: NC_000001.11
total number of proteins with AA mutation: 152
Connected to SQLite database: /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/RefSeq.sqlite
remove temp folder
finished!
PrecisionProDB finished! Total seconds: 6.752286195755005
Command finished in 10.73 seconds
running test with key_input: RefSeq, key_variant: vcf, sqlite_key: no_sqlite
Running test: without use sqlite file
Running command: cd /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/vcf/no_sqlite && python /data/p/xiaolong/PrecisionProDB/src/PrecisionProDB.py -m /data/p/xiaolong/PrecisionProDB/examples/celline.vcf.gz -g /data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.genome.fa.gz -p /data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.protein.fa.gz -f /data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.gtf.gz -o /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/vcf/no_sqlite/RefSeq.vcf.no_sqlite -a RefSeq --PEFF -t 4
Namespace(genome='/data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.genome.fa.gz', gtf='/data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.gtf.gz', mutations='/data/p/xiaolong/PrecisionProDB/examples/celline.vcf.gz', protein='/data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.protein.fa.gz', threads=4, out='/data/p/xiaolong/PrecisionProDB/test_output/RefSeq/vcf/no_sqlite/RefSeq.vcf.no_sqlite', datatype='RefSeq', protein_keyword='auto', no_filter=False, sample=None, all_chromosomes=False, download='', uniprot='', uniprot_min_len=20, PEFF=True, keep_all=False, sqlite='')
variant file is a vcf file
start extracting mutation file from the vcf input
individual is None, select the first sample in vcf file, which is HEK293
before QC, sites with mutations: 26922 of which, homozyous sites: 11242
after QC, number of variants in two dataframes are: 11094 26604
finished extracting mutations from the vcf file
start running PrecisionProDB for first strand of the genome mutation file
input data is provided as from RefSeq
{'file_genome': '/data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.genome.fa.gz', 'file_gtf': '/data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.gtf.gz', 'file_mutations': '/data/p/xiaolong/PrecisionProDB/test_output/RefSeq/vcf/no_sqlite/RefSeq.vcf.no_sqlite.vcf2mutation_1.tsv', 'file_protein': '/data/p/xiaolong/PrecisionProDB/examples/RefSeq/RefSeq.protein.fa.gz', 'threads': 4, 'outprefix': '/data/p/xiaolong/PrecisionProDB/test_output/RefSeq/vcf/no_sqlite/RefSeq.vcf.no_sqlite_1', 'datatype': 'RefSeq', 'protein_keyword': 'protein_id', 'keep_all': False, 'tempfolder': '/data/p/xiaolong/PrecisionProDB/test_output/RefSeq/vcf/no_sqlite/RefSeq.vcf.no_sqlite_1_temp', 'chromosomes_genome': None, 'chromosomes_genome_description': None, 'chromosomes_mutation': None, 'chromosomes_gtf': None}
split the genome, mutation, gtf and protein file based on chromosomes
finish splitting the genome file
finish assign chromosome for each protein
finish splitting the protein file
chromosomes in mutation file is different from the genome. try to solve that. This is usually True if datatype is RefSeq
mutation chromosome change 1 to NC_000001.11
finish splitting the mutation file
protein-chromosome is already determined in file /data/p/xiaolong/PrecisionProDB/test_output/RefSeq/vcf/no_sqlite/RefSeq.vcf.no_sqlite_1_temp/protein2chr.pickle, use previous result
finish splitting the gtf file
number of chromosomes with proteins: 1
started running perChrom for chromosome: NC_000001.11
from the protein file, totally 738 protein sequences.
finish reading genome file
number of proteins from the gtf file 738
finishing get locs and frame
transcripts with no mutations: 502
transcripts with mutations in CDSplus: 236
number of proteins with AA change: 159
finished running perChrom for chromosome: NC_000001.11
total number of proteins with AA mutation: 159