-
Notifications
You must be signed in to change notification settings - Fork 7
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
Whitelist filtering #784
Comments
How did you pass a whitelist? There are two options, |
No, I did |
e.g.
where I would have expected that only one sequence would be kept ( |
OK, got it. A whitelist is used to guarantee that some things don't get thrown away. A blacklist ensures that some things do. The whitelist has priority. So what you should do is: $ filter-fasta.py --whitelist OP866294_C_C2.2_Ethiopia_Camelus_dromedarius_2019-11-23 \
--negativeTitleRegex . < data/sequences.fasta > sss.fasta I.e., you ask that everything be thrown away, except the ones on the whitelist. |
BTW, these terms are now considered racist. |
If you look at the tests, you'll see several that have |
I was under the impression that passing a
whitelist
tofilter-fasta.py
would remove all sequences except those that are in thewhitelist
. Instead, it seems like nothing gets filtered at all. But maybe I'm misunderstanding something?The text was updated successfully, but these errors were encountered: