Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Move makeSAMRecord (from googlegenomics/gatk-tools-java) to ReadConverter #102

Open
davidadamsphd opened this issue Jun 24, 2015 · 5 comments

Comments

@davidadamsphd
Copy link
Contributor

ReadConverter.makeRead takes a SamRecord and produces a model read. I think the reverse process should also live in this file (or at least near this file in this repo).

I'll do the PR if there is agreement on this change. (This change is a request from the GATK team at the Broad)

@deflaux
Copy link
Contributor

deflaux commented Jun 25, 2015

@davidadamsphd If this is reusable code for both dataflow-java and gatk-tools-java, consider placing it in utils-java instead. I'm not familiar with the details though. @iliat What do you think?

@pgrosu
Copy link

pgrosu commented Jun 27, 2015

There also seems to be some duplication between utils-java and ReadConverter as well. Below is basically the same code duplicated in both places:

ReadConverter.java from dataflow-java

ReadUtils.java in utils-java

It might help to have them in one place as Nicole suggested.

Have a great weekend everyone!
Paul

@davidadamsphd
Copy link
Contributor Author

ping @iliat. @pgrosu, I'm happy to also move those too. @deflaux, what do you think?

@deflaux
Copy link
Contributor

deflaux commented Jul 1, 2015

sounds great! Its always joyful to delete obsolete or redundant code :-)

@pgrosu
Copy link

pgrosu commented Jul 1, 2015

@davidadamsphd Less is more ;)

Thanks,
~p

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants