sequenceserver icon indicating copy to clipboard operation
sequenceserver copied to clipboard

Maybe remove '*' if it is at the end of protein sequence

Open yeban opened this issue 4 years ago • 2 comments

Maybe also remove 'U' if it is the last sequence. See: https://groups.google.com/g/sequenceserver/c/r6e3nmQ2Lnc/m/xH-Pj9rPCAAJ

yeban avatar Mar 29 '21 13:03 yeban

!gsub(/X$/, "")

yannickwurm avatar May 24 '21 12:05 yannickwurm

@yannickwurm BLAST indeed counts '*' at the end of protein sequence in database when reporting its length. If we remove the last '*' the downloaded sequence's length will be 1 less than that reported in HTML report.

yeban avatar May 26 '21 15:05 yeban