From 15dde5133ac6d72846aa0db631e6660d50cb904e Mon Sep 17 00:00:00 2001 From: Hao Chen Date: Sun, 19 Apr 2020 12:02:28 -0500 Subject: mv some files to utility --- utility/topGene_step0_extract_gene_alias_from_gene_info.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 utility/topGene_step0_extract_gene_alias_from_gene_info.sh (limited to 'utility/topGene_step0_extract_gene_alias_from_gene_info.sh') diff --git a/utility/topGene_step0_extract_gene_alias_from_gene_info.sh b/utility/topGene_step0_extract_gene_alias_from_gene_info.sh new file mode 100755 index 0000000..4d3118b --- /dev/null +++ b/utility/topGene_step0_extract_gene_alias_from_gene_info.sh @@ -0,0 +1,4 @@ +#!/bin/bash +#-e "s/\(|\)/ /g" -e "s/\[|\]/ /g" +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 + -- cgit v1.2.3