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
Add subseq selected coordinates to FASTA? #413
Comments
On further testing,
However, the coordinates don't get appended with the
|
shenwei356
added a commit
that referenced
this issue
Sep 29, 2023
Added one.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
seqkit version
Describe your issue
Hi there,
It would be useful for
subseq
to have a flag where it would add the coordinates of the selected region to the FASTA record description.E.g. if subseq were run with
-r 14:14
it would addSEQID:14-14
to the end of the FASTA description. It would ideally work with GTF/GFF & BED defined regions as well, but would need to change from 0-indexing to 1-indexing in the case of BED.I briefly looked and the analogous command to
subseq
inseqtk
does not have this feature.bedtools getfasta
implements this behavior by default.All the best,
-Tim
The text was updated successfully, but these errors were encountered: