We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4c6c69 commit 05cc397Copy full SHA for 05cc397
bin/tx2gene.py
@@ -62,7 +62,7 @@ def discover_transcript_attribute(gtf_file: str, transcripts: Set[str]) -> str:
62
attributes_str = cols[8]
63
attributes = dict(re.findall(r'(\S+) "(.*?)(?<!\\)";', attributes_str))
64
65
- votes.update(key for key, value in attributes.items())
+ votes.update(key for key, value in attributes.items() if value in transcripts)
66
67
if not votes:
68
# Log a warning if no matching attribute is found
0 commit comments