Description

Calculate LD scores with GCTA and derive GREML-LDMS SNP groups

Input

name:type
description
pattern

meta

:map

Groovy Map containing PLINK1 genotype metadata e.g. [ id:'plink_simulated' ]

bed

:file

PLINK1 genotype primary file

*.{bed}

bim

:file

PLINK1 variant metadata file

*.{bim}

fam

:file

PLINK1 sample metadata file

*.{fam}

ld_score_region

:integer

LD-score region width passed to --ld-score-region. Callers should pass 200 for the default GCTA region width unless they are intentionally overriding it.

Output

name:type
description
pattern

ld_scores

meta

:map

Groovy Map containing PLINK1 genotype metadata e.g. [ id:'plink_simulated' ]

*_gcta_ld.score.ld

:file

GCTA LD score output file

*_gcta_ld.score.ld

snp_group_files

meta

:map

Groovy Map containing PLINK1 genotype metadata e.g. [ id:'plink_simulated' ]

*_snp_group*.txt

:file

LD-score SNP-group files for GCTA GREML-LDMS workflows

*_snp_group*.txt

versions_gcta

${task.process}

:string

The process the versions were collected from

gcta

:string

The tool name

gcta --version | sed -En 's/^[*] version v([0-9.]*).*/\1/p'

:eval

The command used to generate the version of the tool

versions_rbase

${task.process}

:string

The process the versions were collected from

r-base

:string

The tool name

Rscript -e "cat(as.character(getRversion()))"

:eval

The command used to generate the version of the tool

Topics

name:type
description
pattern

versions

${task.process}

:string

The process the versions were collected from

gcta

:string

The tool name

gcta --version | sed -En 's/^[*] version v([0-9.]*).*/\1/p'

:eval

The command used to generate the version of the tool

${task.process}

:string

The process the versions were collected from

r-base

:string

The tool name

Rscript -e "cat(as.character(getRversion()))"

:eval

The command used to generate the version of the tool