We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b9ac30 commit 22f71ffCopy full SHA for 22f71ff
1 file changed
doc/docs/usage.md
@@ -3084,6 +3084,14 @@ Examples
3084
CCCCAAAACCCCATGGCATCATTCA
3085
>seq3 Hello
3086
CCCCAAAACCCCATGTTGCTACTAG
3087
+
3088
+ If the target to replace is the sequence ID, meanwhile you would like to keep the description.
3089
+ Please use this:
3090
3091
+ # ^(\S+) # ID
3092
+ # (.+)$ # description
3093
+ seqkit replace -p '^(\S+)(.+?)$' -r '{kv}$2' -k alias.txt test.fa
3094
3095
3096
1. convert fasta to genbank style
3097
0 commit comments