class Object

Constants

CHROMOSOMES
DO_COMPUTE_GWA
DO_COMPUTE_KINSHIP
GEMMA_ARGS
GEMMA_ARGS_HASH
GEMMA_COMMAND

Check gemma version

GEMMA_INFO
GEMMA_K_BANNER
GEMMA_K_VERSION

—- Start banner

GEMMA_V_MAJOR

These are used for testing compatibility with the gemma tool

GEMMA_V_MINOR
HASH
LOCO
OUTPUT

—- Output handlers

PARALLEL_INFO
USAGE

gemma-wrapper

Author

Pjotr Prins

License

GPL3

Copyright (C) 2017-2021 Pjotr Prins <pjotr.prins@thebird.nl>

VERSION_FILENAME

Public Instance Methods

get_chromosomes(annofn) click to toggle source

Fetch chromosomes

# File bin/gemma-wrapper, line 203
def get_chromosomes annofn
  h = {}
  File.open(annofn,"r").each_line do | line |
    chr = line.split(/\s+/)[2]
    h[chr] = true
  end
  h.map { |k,v| k }
end