Mercurial > repos > jackcurragh > trips_viz_create_annotation
comparison trips_create_annotation/create_annotation_sqlite.py @ 5:cdecd5f9a4d3 draft
Uploaded
author | jackcurragh |
---|---|
date | Fri, 27 May 2022 10:14:09 +0000 |
parents | f1c72ed4b32c |
children | 8d47b5f57579 |
comparison
equal
deleted
inserted
replaced
4:0558d4e0f1cf | 5:cdecd5f9a4d3 |
---|---|
307 for tran in master_dict: | 307 for tran in master_dict: |
308 if master_dict[tran]["chrom"] == "": | 308 if master_dict[tran]["chrom"] == "": |
309 # print ("tran {} has no chrom :(".format(tran)) | 309 # print ("tran {} has no chrom :(".format(tran)) |
310 notinannotation.append(tran) | 310 notinannotation.append(tran) |
311 for tran in notinannotation: | 311 for tran in notinannotation: |
312 print(tran) | |
313 del master_dict[tran] | 312 del master_dict[tran] |
314 # Dictionary to store the coding status of a gene, if any transcript of this gene is coding, the value will be True | 313 # Dictionary to store the coding status of a gene, if any transcript of this gene is coding, the value will be True |
315 coding_genes_dict = {} | 314 coding_genes_dict = {} |
316 # parse master_dict to calculate length, cds_start/stop and exon junction positions | 315 # parse master_dict to calculate length, cds_start/stop and exon junction positions |
317 for tran in master_dict: | 316 for tran in master_dict: |