Skip to content

Commit

Permalink
renamed ID field to gene_id in response to: #29
Browse files Browse the repository at this point in the history
  • Loading branch information
basti committed Jan 3, 2019
1 parent f3b93f2 commit 39cdf16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/3.1_create_gtf/Modules/ucsc/ucsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ def find_ID(self, line):
ref_id = re.search(pattern, line).group()
splitted = ref_id.split(":")
if len(splitted) == 2:
returnstring = str(splitted[0])+' "'+str(splitted[1])+'"'
returnstring = 'gene_id "'+str(splitted[1])+'"'
else:
returnstring = 'ID '+'"NA"'
returnstring = 'gene_id "NA"'

return returnstring

Expand Down

0 comments on commit 39cdf16

Please sign in to comment.