Skip to content

Support -R/--regions-file and -T/--targets-file#268

Open
tomwhite wants to merge 1 commit intosgkit-dev:mainfrom
tomwhite:regions-file
Open

Support -R/--regions-file and -T/--targets-file#268
tomwhite wants to merge 1 commit intosgkit-dev:mainfrom
tomwhite:regions-file

Conversation

@tomwhite
Copy link
Member

Also

  • Add complement flag to GenomicRanges
  • Only use targets for filtering (refining), to be consistent with bcftools

The last one is a change to make vcztools more like bcftools, motivated by this line in the bcftools manual:

Both -r and -t options can be applied simultaneously: -r uses the index to jump to a region and -t discards positions which are not in the targets

Fixes #72

Add complement flag to GenomicRanges

Only use targets for filtering (refining), to be consistent with bcftools
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.

Add support for reading regions and targets from a file (-R/-T)

1 participant