-
Notifications
You must be signed in to change notification settings - Fork 311
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
[ADAM-1083] Cleaning up org.bdgenomics.adam.models
.
#1267
Conversation
Test FAILed. Build result: FAILURE[...truncated 3 lines...]Building remotely on amp-jenkins-worker-05 (centos spark-test) in workspace /home/jenkins/workspace/ADAM-prbWiping out workspace first.Cloning the remote Git repositoryCloning repository https://github.com/bigdatagenomics/adam.git > /home/jenkins/git2/bin/git init /home/jenkins/workspace/ADAM-prb # timeout=10Fetching upstream changes from https://github.com/bigdatagenomics/adam.git > /home/jenkins/git2/bin/git --version # timeout=10 > /home/jenkins/git2/bin/git -c core.askpass=true fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/heads/:refs/remotes/origin/ # timeout=15 > /home/jenkins/git2/bin/git config remote.origin.url https://github.com/bigdatagenomics/adam.git # timeout=10 > /home/jenkins/git2/bin/git config --add remote.origin.fetch +refs/heads/:refs/remotes/origin/ # timeout=10 > /home/jenkins/git2/bin/git config remote.origin.url https://github.com/bigdatagenomics/adam.git # timeout=10Fetching upstream changes from https://github.com/bigdatagenomics/adam.git > /home/jenkins/git2/bin/git -c core.askpass=true fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/pull/:refs/remotes/origin/pr/ # timeout=15 > /home/jenkins/git2/bin/git rev-parse origin/pr/1267/merge^{commit} # timeout=10 > /home/jenkins/git2/bin/git branch -a --contains 7ffa285253ccc23de7b9d9d7bf1a630c1502ddab # timeout=10 > /home/jenkins/git2/bin/git rev-parse remotes/origin/pr/1267/merge^{commit} # timeout=10Checking out Revision 7ffa285253ccc23de7b9d9d7bf1a630c1502ddab (origin/pr/1267/merge) > /home/jenkins/git2/bin/git config core.sparsecheckout # timeout=10 > /home/jenkins/git2/bin/git checkout -f 7ffa285253ccc23de7b9d9d7bf1a630c1502ddabFirst time build. Skipping changelog.Triggering ADAM-prb ? 2.6.0,2.11,1.5.2,centosTriggering ADAM-prb ? 2.6.0,2.10,1.5.2,centosTouchstone configurations resulted in FAILURE, so aborting...Notifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'Test FAILed. |
2a31383
to
97e7c1e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nits. Thank you for the heroic documentation efforts, my friend. :)
* | ||
* @param regionable The input value | ||
* @tparam U | ||
* @return a boolean -- the input value should only participate in the regionJoin if the return value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@return True if ...
might read better
* corresponding information in the type of 'value', because otherwise it'd be | ||
* difficult to extract the correct type for Byte and NumericSequence values. | ||
* | ||
* This class is roughly analogous to Picard's SAMTagAndValue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Picard → htsjdk
*/ | ||
def reverseComplement(s: String, notFound: (Char => Symbol) = ((c: Char) => Symbol(c, c))) = { | ||
s.map(x => Try(apply(x)).getOrElse(notFound(x)).complement).reverse | ||
} | ||
|
||
/** number of symbols in the alphabet */ | ||
/** | ||
* The number of symbols in the alphabet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
end with period
def contains(other: ReferenceRegion): Boolean = { | ||
orientation == other.orientation && | ||
referenceName == other.referenceName && | ||
start <= other.start && end >= other.end | ||
} | ||
|
||
/** | ||
* Checks is our region overlaps (wholly or partially) another region. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is → if
Test PASSed. |
97e7c1e
to
3fa50a9
Compare
Test PASSed. |
3fa50a9
to
f87e6a2
Compare
Along with bigdatagenomics#1263 and bigdatagenomics#1264, this resolves bigdatagenomics#1083. * Removing unused org.bdgenomics.adam.models.ReadBucket class. * Move org.bdgenomics.adam.models.ReferencePositionPair and org.bdgenomics.adam.models.SingleReadBucket in to org.bdgenomics.adam.rdd.read and make package private. * Clean up duplicated methods and methods that were incorrectly in companion singleton for SequenceDictionary and ReadGroupDictionary. * Removed all SamReader references. * Make writable file headers private to ADAM. * Eliminated manual VCF parsing code in SnpTable. * Cleaned up scaladoc for all classes and singleton objects. * Moved `NonoverlappingRegions` test code out of `InnerBroadcastRegionJoinSuite`.
f87e6a2
to
b49c900
Compare
Thanks for the review @heuermh! I've addressed your comments, rebased, and pushed. |
Test PASSed. |
Thank you, @fnothaft! |
Along with #1263 and #1264, this resolves #1083.
NonoverlappingRegions
test code out ofInnerBroadcastRegionJoinSuite
.