Skip to content
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-822][ADAM-823] SAM follows @SQ order #824

Closed
wants to merge 1 commit into from

Conversation

laserson
Copy link
Contributor

Not sure this works yet. Just ran into HadoopGenomics/Hadoop-BAM#21. Going to sleep now.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/ADAM-prb/913/

Build result: FAILURE

GitHub pull request #824 of commit 9ed8c99 automatically merged.Notifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'[EnvInject] - Loading node environment variables.Building remotely on amp-jenkins-worker-05 (centos spark-test) in workspace /home/jenkins/workspace/ADAM-prb > git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/bigdatagenomics/adam.git # timeout=10Fetching upstream changes from https://github.com/bigdatagenomics/adam.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse origin/pr/824/merge^{commit} # timeout=10 > git branch -a --contains e05ee91 # timeout=10 > git rev-parse remotes/origin/pr/824/merge^{commit} # timeout=10Checking out Revision e05ee91 (origin/pr/824/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f e05ee916e06d5d9abf59ad5110b077705f6b1b18First time build. Skipping changelog.Triggering ADAM-prb ? 2.6.0,2.10,1.4.1,centosTriggering ADAM-prb ? 2.6.0,2.11,1.4.1,centosTouchstone configurations resulted in FAILURE, so aborting...Notifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'
Test FAILed.

@fnothaft
Copy link
Member

I am -0 on this change, because it breaks #784 and is only a partial fix for #823. I think this change can be rewritten to still support #784. Right now, we can't completely fix #823, which is why #784 is necessary. Specifically, this change only fixes #823 if you have the original SamFileHeader. You'll have this if you started from a SAM file, but you won't if you started from a Parquet file.

@@ -109,8 +109,7 @@ class SequenceDictionary(val records: Vector[SequenceRecord]) extends Serializab
* @return Returns a SAM formatted sequence dictionary.
*/
def toSAMSequenceDictionary: SAMSequenceDictionary = {
import SequenceRecord._
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be a parameter to choose if you wanted this sorted or not.

@fnothaft
Copy link
Member

fnothaft commented Oct 2, 2015

Superceded by 283ea9d.

@fnothaft fnothaft closed this Oct 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants