Fixed chromosome comparison in createNormalizedCoverageFiles()#40
Open
ryim wants to merge 3 commits intomolgenis:masterfrom
Open
Fixed chromosome comparison in createNormalizedCoverageFiles()#40ryim wants to merge 3 commits intomolgenis:masterfrom
ryim wants to merge 3 commits intomolgenis:masterfrom
Conversation
added 2 commits
March 4, 2019 17:10
Chromosomes in BED and BAM files start with "chr". createNormalizedCoverageFiles() was trying to compare chromosome names in samples and control files as if these names were numerics. The subroutine now treats both as strings for comparison.
Fixed chromosome comparison in createNormalizedCoverageFiles()
Member
|
Dear Richard, Cheers, |
Author
|
Hi Freerk, If this is in active development, you may want to remove lines 2025-2028 in CoNVaDING.pl v1.2.1. Now that the chromosome name is processed in string context, there is no need to replace the non-numerical identifiers with numbers. I was planning on doing this, but did not want to Commit and submit a Pull-Request until I had time to make sure that this change worked. Best wishes, |
…nd autoSD to raw output
|
Other option is to convert number to string by interpolation and use "eq" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Chromosomes in BED and BAM files start with "chr". createNormalizedCoverageFiles() was trying to compare chromosome names in samples and control files as if these names were numerics. The subroutine now treats both as strings for comparison.