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

majority of bold records are being filtered #53

Open
johrstrom opened this issue Feb 24, 2022 · 0 comments
Open

majority of bold records are being filtered #53

johrstrom opened this issue Feb 24, 2022 · 0 comments
Labels

Comments

@johrstrom
Copy link
Contributor

While working on #52 - I got this report. Apparently something like 82% of bold records are being marked as invalid.

- input_records: 585125
  invalid_records: 479287
  invalid_taxons: 494
  invalid_occurences: 0
  output_files: 105344
  name: add_bold_records
  time: '2022-02-23T16:59:10-05:00'

They're getting filtered here.

# TODO: every skipped record should be written to a file
unless record.gene_symbol_mapped.present? && record.sequence.present? && record.species.present? && record.species_binomial?
invalid_records += 1
next
end

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

No branches or pull requests

1 participant