Skip to content

Instantly share code, notes, and snippets.

@golobor
golobor / gist:fea8b74fce5e1b8119e6c8dc96671f07
Created December 1, 2018 05:52 — forked from suimye/gist:d8edec74cce9ecad86cd
For retrieving fastq file from NCBI GEO using GSM number.
#!/bin/sh
if ! type "efetch" > /dev/null; then
print "Please install E-utilitie."
fi
GSM_LIST=$1
GSMs=`cat $GSM_LIST|cut -f1`
#echo $SRRs
! type "foo" > /dev/null 2>&1;
for GSM in $GSMs; do