Skip to content

Instantly share code, notes, and snippets.

@wdecoster
Last active June 26, 2017 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wdecoster/4a4a9b505bcb31093a9f4f4683c5186f to your computer and use it in GitHub Desktop.
Save wdecoster/4a4a9b505bcb31093a9f4f4683c5186f to your computer and use it in GitHub Desktop.
def aveQual(quals):
'''
Receive the integer quality scores of a read and return the average quality for that read
'''
return sum(quals) / len(quals)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment