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

Fasta subset by sequence #764

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

TaliVeith
Copy link
Collaborator

Script to read fastq and, given a pattern will output sequences to stout that contain this pattern. Applied case: look for TRS leader sequence in reads and pull out those reads that contain the sequence.

Changed on the way to deal with fastq instead of fasta.

@TaliVeith TaliVeith requested a review from terrycojones April 5, 2022 16:38
@bamueh
Copy link
Contributor

bamueh commented Oct 8, 2024

You could probably run black on this.

@terrycojones
Copy link
Member

OMG, I only just saw this, sorry!

filter-fasta.py has --sequenceRegex and --sequenceNegativeRegex that can be used to do this, and it also handles FASTA as well as FASTQ. I guess I added those options in the meantime.

I'm not sure what to do. It's fine to merge this (running black would be good) even though we don't strictly need it.

Copy link
Member

@terrycojones terrycojones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment in main conversation thread.

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.

3 participants