Skip to content

Commit

Permalink
Somehow returning to the dash-based separator instead of hash got scr…
Browse files Browse the repository at this point in the history
…ewed up during the merge commit.

For issue #64.
  • Loading branch information
ifiddes committed Aug 28, 2017
1 parent 4ae1303 commit 3c58f80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cat/filter_transmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def hash_aln(aln):
tools.procOps.run_proc(cmd, stdout=local_tmp)
paralogy_alns = list(tools.psl.psl_iterator(local_tmp))

# local localBest IDs by using the hash table to figure out which ones we had
# load localBest IDs by using the hash table to figure out which ones we had
local_best = {unfiltered[unfiltered_hash_table[hash_aln(aln)]] for aln in paralogy_alns}
# report counts by biotype
grouped = tools.psl.group_alignments_by_qname(local_best)
Expand Down
2 changes: 1 addition & 1 deletion tools/nameConversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import re


def remove_alignment_number(aln_id, aln_re=re.compile("#[0-9]+$")):
def remove_alignment_number(aln_id, aln_re=re.compile("-[0-9]+$")):
"""
If the name of the transcript ends with -d as in
ENSMUST00000169901.2-1, return ENSMUST00000169901.2
Expand Down

0 comments on commit 3c58f80

Please sign in to comment.