Skip to content

Commit

Permalink
feat: handle cases in the sample sheet where the sex is unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
padraicc committed Aug 21, 2023
1 parent 9eabd82 commit ad0c5b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extract_sample_sheet_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ def translate_sex(sex_code):
sex = "male"
elif sex_code == "K":
sex = "female"
elif sex_code == "O":
sex = "unknown"
else:
print('Sex is not specified correctly in the Sample Sheet')
sys.exit(1)
Expand Down

0 comments on commit ad0c5b1

Please sign in to comment.