Skip to content

Commit

Permalink
bug fix. float to int
Browse files Browse the repository at this point in the history
  • Loading branch information
madetunj committed Mar 27, 2024
1 parent 85cd38a commit 546c6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ROSE_geneMapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def mapEnhancerToGene(annotFile,enhancerFile,transcribedFile='',uniqueGenes=True
for line in enhancerTable[6:]:

enhancerString = '%s:%s-%s' % (line[1],line[2],line[3])
enhancerSignal = int(line[6])
enhancerSignal = int(float(line[6]))
if subtractInput: enhancerSignal = int(float(line[6]) - float(line[7]))

enhancerLocus = ROSE_utils.Locus(line[1],line[2],line[3],'.',line[0])
Expand Down

0 comments on commit 546c6e2

Please sign in to comment.