-
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
Finishing up the cleanup on org.bdgenomics.adam.rdd. #1264
Conversation
I may have asked elsewhere, it seems like the It may be that I'm not using them correctly here, in that they aren't really implicit if I have to explicitly instantiate them. |
Test PASSed. |
The |
Thanks for the clarification. I'll take a closer look at the formatter docs and the rest of this pull request tomorrow morning. |
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.
Looks good, thanks!
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`.
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`.
* Made `MDTagging` private to `read`. Exposed it through `AlignmentRecordRDD`. Cleaned up where it was used in `Transform`. * Made `FlagStat` and most related models private to `read`. * Made all `read.recalibration` and `read.realignment` classes private to package. Depending on the class, this varied from: * `adam` for classes that need to be registered with `kryo` * `read` for the core `RealignIndels` and `BaseQualityRecalibrator` engines * Their subpackage where possible. * Made class values for genomic partitioners as private as possible. * Added documentation to all `InFormatter`s, `InFormatterCompanion`s, and `OutFormatter`s. Made the `InFormatter`s package private with private constructors. * Added method/class level scaladoc where missing. * Moved `org.bdgenomics.adam.cli.FlagStatSuite` to `org.bdgenomics.adam.read`, along with the `NA12878.sam` test resource, which was otherwise unused in the `adam-cli` submodule.
d4b949c
to
4063b29
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`.
Test PASSed. |
Thank you, @fnothaft! |
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`.
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`.
Along with #1263 and #1264, this resolves #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`.
MDTagging
private toread
. Exposed it throughAlignmentRecordRDD
.Cleaned up where it was used in
Transform
.FlagStat
and most related models private toread
.read.recalibration
andread.realignment
classes private topackage. Depending on the class, this varied from:
adam
for classes that need to be registered withkryo
read
for the coreRealignIndels
andBaseQualityRecalibrator
enginesInFormatter
s,InFormatterCompanion
s, andOutFormatter
s. Made theInFormatter
s package private with private constructors.org.bdgenomics.adam.cli.FlagStatSuite
toorg.bdgenomics.adam.read
, along with theNA12878.sam
test resource, which was otherwise unused in theadam-cli
submodule.