Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qualimap parsing script fails when num mismatches includes comma #6

Closed
dfornika opened this issue Nov 27, 2023 · 0 comments · Fixed by #7
Closed

Qualimap parsing script fails when num mismatches includes comma #6

dfornika opened this issue Nov 27, 2023 · 0 comments · Fixed by #7

Comments

@dfornika
Copy link
Member

dfornika commented Nov 27, 2023

We aren't handling the case where the number of mismatches is over 1000 and includes a comma:

Command error:
  Traceback (most recent call last):
    File "qualimap_bamqc_genome_results_to_csv.py", line 125, in <module>
      main(args)
    File "qualimap_bamqc_genome_results_to_csv.py", line 53, in main
      output_data['number_of_mismatches'] = int(number_of_mismatches)
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^
  ValueError: invalid literal for int() with base 10: '8,588,232'

While addressing this issue, check other metrics for the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant