diff options
author | Hao Chen | 2019-05-19 12:17:50 -0500 |
---|---|---|
committer | Hao Chen | 2019-05-19 12:17:50 -0500 |
commit | d40664196495a76ce344d94bdf283b512004ce67 (patch) | |
tree | 90005288a0968477bd5a6380f234423bc94d96df /topGene_step0_extract_gene_alias_from_gene_info.sh | |
parent | 8ec2340063fef684268f11ea5aa631a9457459be (diff) | |
download | genecup-d40664196495a76ce344d94bdf283b512004ce67.tar.gz |
search for top addiction genes
Diffstat (limited to 'topGene_step0_extract_gene_alias_from_gene_info.sh')
-rwxr-xr-x | topGene_step0_extract_gene_alias_from_gene_info.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/topGene_step0_extract_gene_alias_from_gene_info.sh b/topGene_step0_extract_gene_alias_from_gene_info.sh new file mode 100755 index 0000000..4d3118b --- /dev/null +++ b/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 + |