Adds detection of RPS12 and managment of locus tags

Former-commit-id: b9b17708eaaa27580f1e99bd3c375d4b6aba4d79
Former-commit-id: 369361ffa58e65b19ab1005bdf7960924f24ca08
This commit is contained in:
2022-02-14 14:21:50 +01:00
parent 9648bbb874
commit 59fcad1c42
5 changed files with 132 additions and 4 deletions

View File

@ -206,9 +206,9 @@ function formatfasta {
# Reverse complement a DNA string
# - $1 : The DNA string to reverse complement
function reversecomp {
echo $1 \
echo $* \
| tr 'Aa' '@!' | tr 'Tt' 'Aa' | tr '@!' 'Tt' \
| tr 'Cc' '@!' | tr 'Gg' 'Cc' | tr '@!' 'Gc' \
| tr 'Cc' '@!' | tr 'Gg' 'Cc' | tr '@!' 'Gg' \
| tr 'Mm' '@!' | tr 'Kk' 'Mm' | tr '@!' 'Kk' \
| tr 'Rr' '@!' | tr 'Yy' 'Rr' | tr '@!' 'Yy' \
| tr 'Ww' '@!' | tr 'Ss' 'Ww' | tr '@!' 'Ss' \