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

AlignmentFile from String or StringIO support #1266

Open
MauroIb opened this issue Feb 9, 2024 · 0 comments
Open

AlignmentFile from String or StringIO support #1266

MauroIb opened this issue Feb 9, 2024 · 0 comments

Comments

@MauroIb
Copy link

MauroIb commented Feb 9, 2024

I need to create an AlignmentFile obj from a SAM file that I have stored in a string. This is part of a workflow where I run several steps using subprocess.run() and catch their stdout. I am looking for ways of working without making temporary files.

I see that AlignmentFile does not support StringIO, but allows for stdin. I think I can to patch into stdin using standard python tools, but a way to directly feed a string would be great.

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

1 participant