From 8c4e4634e11eb54e4fd4fc0199f005ec3246ed66 Mon Sep 17 00:00:00 2001
From: Arthur Le Bars <arthur.le-bars@sb-roscoff.fr>
Date: Thu, 9 Apr 2020 16:41:22 +0200
Subject: [PATCH] Delete phaeoexplorer-change_pep_fasta_header.sh

---
 phaeoexplorer-change_pep_fasta_header.sh | 17 -----------------
 1 file changed, 17 deletions(-)
 delete mode 100755 phaeoexplorer-change_pep_fasta_header.sh

diff --git a/phaeoexplorer-change_pep_fasta_header.sh b/phaeoexplorer-change_pep_fasta_header.sh
deleted file mode 100755
index 0de7b9b..0000000
--- a/phaeoexplorer-change_pep_fasta_header.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env bash
-
-INFILE=$1
-OUTFILE=tmpfile
-
-FILE_HEADER_START=$(grep ">" $INFILE | cut -c 1-6 | sort | uniq)
-HEADER_START_STRING=">mRNA."
-
-if [[ "$FILE_HEADER_START" == "$HEADER_START_STRING" ]]
-then
-    /usr/local/genome2/mmo/scripts/common/common-stringSubstitute.py -i $INFILE -o $OUTFILE -p '^>mRNA' -r '>protein'
-    mv $OUTFILE $INFILE
-    echo "'>mRNA' replaced by '>protein'"
-else 
-    echo "Abort. Not all headers start with '>mRNA.':"
-    echo "$FILE_HEADER_START"
-fi
\ No newline at end of file
-- 
GitLab