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

Enable create to take input from stdin #60

Open
jdidion opened this issue Aug 23, 2022 · 1 comment
Open

Enable create to take input from stdin #60

jdidion opened this issue Aug 23, 2022 · 1 comment

Comments

@jdidion
Copy link

jdidion commented Aug 23, 2022

It looks like create relies on the file extension to determine the type of input, which precludes using /dev/stdin as the input file. Since create doesn't have many filtering options, it is often necessary to use samtools view to filter the file (e.g. remove duplicate reads) upstream of create.

You could be fancy and try to sniff the file type using the magic bytes, or you could just add an option for the user to specify the file type.

@arq5x
Copy link
Collaborator

arq5x commented Aug 24, 2022

We will look into this, but will likely be a while before this could be implemented.

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

No branches or pull requests

2 participants