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

GenomicRDD.toXxx method names should be consistent #1699

Closed
heuermh opened this Issue Aug 29, 2017 · 1 comment

Comments

Projects
2 participants
@heuermh
Member

heuermh commented Aug 29, 2017

The predefined transmute methods GenomicRDD.toXxx are not named consistently

AlignmentRecordRDD.toCoverage(): CoverageRDD
AlignmentRecordRDD.toFragments(): FragmentRDD
CoverageRDD.toFeatureRDD(): FeatureRDD
FeatureRDD.toCoverage(): CoverageRDD
FragmentRDD.toReads(): AlignmentRecordRDD
GenotypeRDD.toVariantContextRDD(): VariantContextRDD
VariantContextRDD.toGenotypeRDD(): GenotypeRDD
VariantContextRDD.toVariantRDD(): VariantRDD
VariantRDD.toVariantContextRDD(): VariantContextRDD

I propose

AlignmentRecordRDD.toCoverage(): CoverageRDD
AlignmentRecordRDD.toFragments(): FragmentRDD
CoverageRDD.toFeatures(): FeatureRDD
FeatureRDD.toCoverage(): CoverageRDD
FragmentRDD.toReads(): AlignmentRecordRDD
GenotypeRDD.toVariantContexts(): VariantContextRDD
VariantContextRDD.toGenotypes(): GenotypeRDD
VariantContextRDD.toVariants(): VariantRDD
VariantRDD.toVariantContexts(): VariantContextRDD
@fnothaft

This comment has been minimized.

Show comment
Hide comment
@fnothaft
Member

fnothaft commented Aug 29, 2017

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment