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

[split] Add -d TAG option #1222

Closed
wants to merge 3 commits into from
Closed

Conversation

valeriuo
Copy link
Contributor

@valeriuo valeriuo commented Apr 6, 2020

Adds a new option to samtools split command, which allows the user to split reads into distinct files by a custom read tag (with a string type value). E.g. samtools split -d hc align.sam, where some of the reads in align.sam have a tag in the format hc:Z:<string value>.
Options -u is also available with -d.

Change the return type of auto_index method from char* to int, since a separate pointer to the index file name is no longer needed.

Depends on samtools/htslib#1055

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.

None yet

1 participant