Open zhuying412 opened 2 years ago
when weight_model=='s'
lib/json_format.py
gene_ID[j]][1]/highest_score
gene_info_dict[gene_dict[gene_ID[j]][0]] = {'Rank':str(rank_ave) , 'gene_id':str(gene_ID[j]),'score':str( float(gene_dict[gene_ID[j]][1]/highest_score)), 'status':gene_dict[gene_ID[j]][2]}
lib/output.py
gene_dict[gene_symbols[j]][1]
output_file.write(str(rank_ave) + "\t" + gene_dict[gene_symbols[j]][0] + "\t" + str(gene_dict[gene_symbols[j]][-1]) + "\t" + str( gene_dict[gene_symbols[j]][1] ) + "\t" + gene_dict[gene_symbols[j]][2] + "\n" )
one has highest_score, another not. I think it's a bug.
by the way, what's the phen2gene's relationship with phen2gene2?
when weight_model=='s'
lib/json_format.py
, the score isgene_ID[j]][1]/highest_score
lib/output.py
, the score isgene_dict[gene_symbols[j]][1]
one has highest_score, another not. I think it's a bug.