Skip to content
Snippets Groups Projects
Commit f89a814d authored by Ian Fiddes's avatar Ian Fiddes
Browse files

Bug in homGeneMapping when number of target species exceeds 10.

parent 07b9ad00
No related branches found
No related tags found
No related merge requests found
......@@ -209,8 +209,8 @@ def parse_hgm_gtf(hgm_out, genome):
def parse_entry(entry, species_id):
recs = entry.split(',')
for x in recs:
if x[0] == species_id:
return x[1:]
if x.startswith(species_id):
return x[len(species_id):]
return ''
intron_rna = ','.join(map(str, [parse_entry(x, species_id).count('E') +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment