aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHao Chen2019-05-17 19:10:45 -0500
committerHao Chen2019-05-17 19:10:45 -0500
commit8fec258c37cf38c4af2ffe64d67e4f3fc121ad3b (patch)
tree6409578f3f0e76d2cb175b8daac6951d71ec7d1d
parenteb51746ce69fb43450b6896e4a71e5052df51115 (diff)
downloadgenecup-8fec258c37cf38c4af2ffe64d67e4f3fc121ad3b.tar.gz
get gene names
-rw-r--r--extract_gene_symb_name_from_ncbi_gene_info.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extract_gene_symb_name_from_ncbi_gene_info.sh b/extract_gene_symb_name_from_ncbi_gene_info.sh
index 0f54b1a..4d3118b 100644
--- a/extract_gene_symb_name_from_ncbi_gene_info.sh
+++ b/extract_gene_symb_name_from_ncbi_gene_info.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#-e "s/\(|\)/ /g" -e "s/\[|\]/ /g"
-grep ^9606 ~/Downloads/gene_info |grep -v ^LOC|grep -v -i pseudogene |cut -f 3,5,12|sed -e "s/\t-//" -e "s/\t/|/2" -e "s/\t-//" -e "s/\t/\|/" -e "s/(\|)\|\[\|\]\|{\|}/ /g" | sort >ncbi_gene_symb_syno_name_txid9606.txt
+grep ^9606 ~/Downloads/gene_info |cut -f 3,5,12|grep -v ^LOC|grep -v -i pseudogene |sed -e "s/\t-//" -e "s/\t/|/2" -e "s/\t-//" -e "s/\t/\|/" -e "s/(\|)\|\[\|\]\|{\|}/ /g" | sort >ncbi_gene_symb_syno_name_txid9606.txt