Hi Wagner,
The documentation on the genedb modules is a bit sparse. The genedb
parameter cannot be used to point to a HapMap file (or any sort of
genotype file), but rather requires a database that can be found in
the /usr/local/share/genedb directory. If you're running GLU from a
PC or another server let me know -- I'll get you a copy of the
database. There is a sensible default containing a very comprehensive
set of annotations, so most times you won't need to set that option.
I suspect you want to use something like:
echo BRCA1 | glu genedb.find_snps --upbases=500000 --
downbases=500000 -
or create a file with a list of gene symbols, one per line (genes.lst)
glu genedb.find_snps --upbases=500000 --downbases=500000 genes.lst
I'll add a description of the resulting output to the documentation
tomorrow, in case you have any questions. Notice that all SNPs in
dbSNP are part of the output.
Hint: If you want to restrict the list of SNPs to, say, HapMap:
glu ginfo /usr/local/share/hapmap/build27/glu/
hapmap_CEU_17_r27_fwd_nr_b36.lbat --
outputloci=hapmap_chr17_CEU_snps.lst
echo BRCA1 | glu genedb.find_snps --upbases=500000 --
downbases=500000 --includeloci=hapmap_chr17_CEU_snps.lst -
Most of the time you don't much care if the SNP list contains extra
SNPs. None of the glu programs typically case if you specify an
include list that contains extra items.
Hope this helps,
-Kevin