-
Notifications
You must be signed in to change notification settings - Fork 369
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
Sequence name regex issue in SortSam #1574
Comments
After looking into this some more, it found that the issue is a direct result of the SAM specification (e.g. htsjdk issue #1295) and that it is not a issue that can be solved in Picard. Therefore, I will close the issue here and find a workaround or raise an issue at hts-specs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Affected tool(s)
Affected version(s)
Description
When I try to run SortSam on my file, I get the following error:
This error is caused by the '()' characters in the sequence name. I found that for some tools, there is the paramater READ_NAME_REGEX that can be used but that is not a valid parameter for this tool.
For the moment I went back to version 2.8.3 because there it still works.
Is it possible to change the regex that is used for this on the command line? If not, is there a reason that the parentheses were not included in the default regex because otherwise, I could make try to make a pull request where they are added?
Steps to reproduce
Run the following command on any file where the sequence name contains parentheses:
picard SortSam I=readmap.sam O=sorted.bam SORT_ORDER=coordinate CREATE_INDEX=true
Expected behavior
Output a sorted BAM file with index
Actual behavior
Exception due to parentheses in the sequence name
The text was updated successfully, but these errors were encountered: