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

Nora's comments #2

Open
norakearns opened this issue Oct 17, 2021 · 0 comments
Open

Nora's comments #2

norakearns opened this issue Oct 17, 2021 · 0 comments

Comments

@norakearns
Copy link

Hi Thai!

First of all, seriously amazing job!! Your code is super detailed and I think your dictionary approach is really efficient. Your functions make sense for your approach and this program would definitely accomplish the objective of the deduper assignment.

The only "critique" I have is not even really a critique, but I think that the second half of your code, where you actually check for duplicates, is a bit unclear/hard to follow. Specifically this:

  - Else:
                    - If chromosome_name == current_chrom_in_dict:
                        - add read to dict (temp_read[key] = line_tokens)

I couldn't tell what the function of current_chrom_in_dict was, or how this helped identify duplicates. Your pseudocode is super detailed but maybe a bit more "natural language" would have been helpful in understanding your approach - but that said, it obviously makes sense to you which is ultimately who this outline is for!

Happy deduping :)
Nora Kearns

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

No branches or pull requests

1 participant