Skip to content

Commit

Permalink
added error message if different alternative splicing pattern of rmat…
Browse files Browse the repository at this point in the history
…s is used
  • Loading branch information
PelzKo committed Nov 13, 2024
1 parent 309f612 commit d4b89c1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion container/domain/Process/nease_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,12 @@ def match_name_with_format(filename):
'diff': 'Whippet',
'whippet': 'Whippet',
'mats': 'rmats'}
rmats_alternatives = ['a3ss.mats','a5ss.mats','mxe.mats','ri.mats']

for name, format in name_matches.items():
if name in filename.lower():
return f"{format} input"
return None
for name in rmats_alternatives:
if name in filename.lower():
return "skipped exon (SE.MATS.JC[EC].txt) pattern of rMATS. A3SS, A5SS, MXE, and RI are not supported"
return None

0 comments on commit d4b89c1

Please sign in to comment.