From a637889f13c2151303998e411dc81f3196a974f6 Mon Sep 17 00:00:00 2001 From: hakangunturkun Date: Mon, 7 Sep 2020 22:35:17 -0500 Subject: last version --- utility/ebi_to_ratspub.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 utility/ebi_to_ratspub.sh (limited to 'utility/ebi_to_ratspub.sh') diff --git a/utility/ebi_to_ratspub.sh b/utility/ebi_to_ratspub.sh new file mode 100644 index 0000000..847960f --- /dev/null +++ b/utility/ebi_to_ratspub.sh @@ -0,0 +1,9 @@ +# ./gwas_catalog_v1.0.2-associations_e100_r2020-08-05.tsv + + +cut -f 2,8,14,15,28,35,22 $1 |grep -P -i "schizo|autism|smoking|addiction|cocaine|opioid|morphin|cannabis|depression|anxiety|bipolar|behavior|\bmental|amphetamine|nicotine|chronic\ obstructive|psychiatric|methadone|heroin|alcohol|drug dependence"|grep -v -i intergenic |grep -v BMI >addiction_gwas.tsv + +python ./process_gwas.py > ../gwas_addiction.tab + +echo "../gwas_addiction.tab updated" + -- cgit v1.2.3