diff options
Diffstat (limited to 'extract_gene_symb_name_from_ncbi_gene_info.sh')
-rw-r--r-- | extract_gene_symb_name_from_ncbi_gene_info.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extract_gene_symb_name_from_ncbi_gene_info.sh b/extract_gene_symb_name_from_ncbi_gene_info.sh new file mode 100644 index 0000000..0f54b1a --- /dev/null +++ b/extract_gene_symb_name_from_ncbi_gene_info.sh @@ -0,0 +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 + |