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

Don't convert .{different-type}.adam in loadAlignments and loadFragments #1456

heuermh opened this Issue Mar 23, 2017 · 0 comments


1 participant

heuermh commented Mar 23, 2017

I don't like the .{type}.adam file extension conversions in the type-guessing methods, since we don't use or document that convention elsewhere.

In ADAMContext.loadFragments

} else if (filePath.endsWith(".reads.adam")) {"Loading $filePath as ADAM AlignmentRecords and converting to Fragments.")

And ADAMContext.loadAlignments

} else if (filePath.endsWith("contig.adam")) {"Loading $filePath as Parquet of NucleotideContigFragment and converting to AlignmentRecords. Projection is ignored.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment