-
Notifications
You must be signed in to change notification settings - Fork 75
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
keep fasta header lines unmodified, if ranges are provided #121
Comments
What me confuses is that the command line parameter |
Yeah, the I previously deprecated |
Is this the behavior you were expecting? With coordinates: $ faidx --auto-strand tests/data/genes.fasta 'gi|563317589|dbj|AB821309.1|:100-1'
>gi|563317589|dbj|AB821309.1|:100-1 (complement)
CTAATGTGGTATCCTCAACTAAACTGAAGGAGGGCCGGGCCAGGGACAAGGTTGCCATGGTGACCACGAC
CAGGCAGATGAAACGACCCCAGCTGACCAT Without coordinates: $ faidx --no-coords --auto-strand tests/data/genes.fasta 'gi|563317589|dbj|AB821309.1|:100-1'
>gi|563317589|dbj|AB821309.1|
CTAATGTGGTATCCTCAACTAAACTGAAGGAGGGCCGGGCCAGGGACAAGGTTGCCATGGTGACCACGAC
CAGGCAGATGAAACGACCCCAGCTGACCAT |
I'm unsure ich that's wächst Ihr expect. I just want an option which does not modify the ID or better, not changing the ID should be the default behavior as it was with some previous versions. |
Okay, your commit does not remove already existing coordinates. |
I think I’m going to leave the defaults as is. To me it’s quite a bit more confusing to extract a subsequence and have it labeled exactly the same as the original subject sequence. You’re never going to please everyone! Thanks for your contribution! |
Thanks for the really fast implementation and also for merging my PR. |
Currently, the range coordinates are appended to the sequence ID, if specified (i. e.
contig1:20-200
). I want to keep the FASTA header lines unmodified. I tried to fix it by myself but there are some mixtures of long_name and full_name in the source code.The text was updated successfully, but these errors were encountered: