From 058d7056efcaa63a1b2b07386020ce44e08eef25 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Tue, 27 May 2025 15:20:55 +0200 Subject: [PATCH] Add locus tag to trna --- detectors/nucrrna/bin/go_nucrrna.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/detectors/nucrrna/bin/go_nucrrna.sh b/detectors/nucrrna/bin/go_nucrrna.sh index 4547633..334b292 100755 --- a/detectors/nucrrna/bin/go_nucrrna.sh +++ b/detectors/nucrrna/bin/go_nucrrna.sh @@ -41,22 +41,25 @@ pushTmpDir ORG.its - if [[ ${#ITS1[@]}=="2" ]] ; then + if [[ ${#ITS1[@]} == "2" ]] ; then echo "FT misc_RNA ${ITS1[0]}..${ITS1[1]}" echo 'FT /gene="ITS1"' echo 'FT /note="internal transcribed spacer 1, ITS1"' + echo 'FT /locus_tag=""' fi - if [[ ${#TSU[@]}=="2" ]] ; then + if [[ ${#TSU[@]} == "2" ]] ; then echo "FT rRNA ${TSU[0]}..${TSU[1]}" echo 'FT /gene="5.8S rRNA"' echo 'FT /product="5.8S ribosomal RNA"' + echo 'FT /locus_tag=""' fi - - if [[ ${#ITS2[@]}=="2" ]] ; then + + if [[ ${#ITS2[@]} == "2" ]] ; then echo "FT misc_RNA ${ITS2[0]}..${ITS2[1]}" echo 'FT /gene="ITS2"' echo 'FT /note="internal transcribed spacer 2, ITS2"' + echo 'FT /locus_tag=""' fi @@ -80,6 +83,7 @@ pushTmpDir ORG.its print "FT rRNA " loc print "FT /gene=\""rrna" rRNA\"" print "FT /product=\""rrna" ribosomal RNA\"" + print "FT /locus_tag=\"\"" full=0 }'