Skip to content

Add stdin support to the tskit CLI#3469

Open
chris-a-talbot wants to merge 2 commits into
tskit-dev:mainfrom
chris-a-talbot:feature/cli-stdin
Open

Add stdin support to the tskit CLI#3469
chris-a-talbot wants to merge 2 commits into
tskit-dev:mainfrom
chris-a-talbot:feature/cli-stdin

Conversation

@chris-a-talbot

Copy link
Copy Markdown

Closes #3468.

CLI commands that load a tree sequence now accept - as the input path to read from stdin. This allows workflows such as

python -m tszip -d my_file.tsz -c | python -m tskit vcf - > my_file.vcf

to convert a .tsz file to VCF.

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.

Allow CLI, e.g. tskit vcf to take stdin

1 participant