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

better validation when saving paired fastqs #830

Merged
merged 1 commit into from
Sep 27, 2015

Conversation

ryan-williams
Copy link
Member

  • logError for LENIENT
  • throw for `STRICT

@AmplabJenkins
Copy link

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

readNameOccurrencesMap.map({
case (numOccurrences, numReadNames) => s"${numOccurrences}x:\t$numReadNames"
}).take(100).mkString("\t", "\n\t", ""),
"",
Copy link
Member

Choose a reason for hiding this comment

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

Nit: if we have more than 100 improperly paired reads, then I would think we should print an ellipsis at the end of the message.

Copy link
Member Author

Choose a reason for hiding this comment

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

ha yea I meant to add that and forgot, thanks, will add

@fnothaft
Copy link
Member

Other than the small nit, LGTM!

@ryan-williams
Copy link
Member Author

nit should be fixed

@fnothaft
Copy link
Member

Thanks @ryan-williams! I'll leave this open for comments, but if we don't hear from anyone else tomorrow, I'll merge.

@AmplabJenkins
Copy link

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

@fnothaft fnothaft merged commit aea329e into bigdatagenomics:master Sep 27, 2015
@fnothaft
Copy link
Member

Thanks @ryan-williams!

@fnothaft fnothaft mentioned this pull request Nov 10, 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