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

fix the minimum position bug in mergeutils #159

Merged
merged 15 commits into from
Aug 22, 2022

Conversation

yli091230
Copy link
Collaborator

The GetIncrementAndComparability function in mergeutils.py gives error message "stuck in infinite loop and exiting error". The error is caused by the min_pos may get from STRs on different chromosomes when samples have different called STRs. Therefore generate an increment list with all FALSE values. Fix it by get the min_pos from the chromosome== min_chrom_index only

@LiterallyUniqueLogin LiterallyUniqueLogin changed the base branch from master to develop August 3, 2022 21:10
@LiterallyUniqueLogin
Copy link
Contributor

Hi Yang,

I ran the pytests and trtools/mergeSTR/tests/test_mergeSTR.py::test_GangSTRRightFile is failing. Can you fix that? (Or confirm that it's an issue with how I'm running it). Also, you put a random 'G' into the .gitignore file which I think wasn't intended.

@yli091230
Copy link
Collaborator Author

Hi Jonathan,

Thanks for reviewing the code.

  1. What error message you got from the trtools/mergeSTR/tests/test_mergeSTR.py::test_GangSTRRightFile? 2.
  2. I think I might accidentally pressed on keyboard when I editing the .gitignore file. I'll fix that.
    Thanks,
    Yang

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 this pull request may close these issues.

3 participants