Closed wbazant closed 1 year ago
I think I've found it!
faidx --invert-match /work/ESTs.fa
matches nothing, which is what I would like.
@wbazant I'm glad you found the solution, and agree that this is not intuitive behavior. Unfortunately at this point I worry that someone, somewhere is relying on the existing behavior :). I've moved the example in the docs to the top of the usage block since I think this is a common use case.
I am looking for a handy way of creating index files when given .fastas. My workflow will do something with them later, so I only need to index them. I dug around and found this project - I tried
bedtools
before, but it made me create a .bed file before I could use it.This might not be in scope of how you want to develop the package, but what's the best way to only index the file?
faidx $FASTA > /dev/null
wastes I/O, andfaidx $FASTA ""
seems to almost do what I want, except it produces a warning.For now I have: