From b3b9955140397b66fbb6990fe23e91a42623cf75 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Sun, 9 Oct 2016 07:19:00 -0300 Subject: [PATCH] Force source to be the first feature Former-commit-id: b78cd77b042bf3c7ec4251e5f2e77762b84d5995 Former-commit-id: 1f1ca1afd0359bd8fde039b8be0e80e9472124c7 --- org-annotate.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/org-annotate.sh b/org-annotate.sh index 8db8743..d08e4ec 100755 --- a/org-annotate.sh +++ b/org-annotate.sh @@ -218,31 +218,31 @@ pushTmpDir ORG.organnot loginfo "Done." loginfo "Printing the source feature" - echo "FT source 1..${sl}" >> "${RESULTS}.annot" + echo "FT source 1..${sl}" if [[ "${organism}" != "{organism}" ]] ; then - echo "FT /organism=\"${organism}\"" >> "${RESULTS}.annot" + echo "FT /organism=\"${organism}\"" fi case "${types}" in chloro) - echo "FT /organelle=\"plastid:chloroplast\"" >> "${RESULTS}.annot" + echo "FT /organelle=\"plastid:chloroplast\"" ;; mito) - echo "FT /organelle=\"mitochondrion\"" >> "${RESULTS}.annot" + echo "FT /organelle=\"mitochondrion\"" ;; *) loginfo "Nuclear sequence" ;; esac - echo "FT /mol_type=\"genomic DNA\"" >> "${RESULTS}.annot" + echo "FT /mol_type=\"genomic DNA\"" if [[ "${taxid}" != "no" ]] ; then - echo "FT /db_xref=\"taxon:${taxid}\"" >> "${RESULTS}.annot" + echo "FT /db_xref=\"taxon:${taxid}\"" fi - # echo "FT /country=\"Poland: Bialowieza Forest\"" >> "${RESULTS}.annot" + # echo "FT /country=\"Poland: Bialowieza Forest\"" loginfo "Done." loginfo "Ordering annotations..."