Giter Site home page Giter Site logo

Comments (3)

choishingwan avatar choishingwan commented on September 13, 2024

This is now implemented in 52de5cf and will be included in the next release.

To use this function, simply do:
--target <bfile Prefix>,<fam file>

Note: No space

from prsice.

JoniColeman avatar JoniColeman commented on September 13, 2024

This doesn't work in the current build (see output below):

PRSice 2.0.10.beta (26 September 2017)
https://github.com/choishingwan/PRSice
(C) 2016-2017 Jack Euesden, Cathryn M. Lewis, Paul F. O'Reilly, Sam Choi
GNU General Public License v3

Thu Sep 28 09:41:24 2017

/mnt/lustre/groups/ukbiobank/usr/KCL_Data_Analyses/PRSice \
    --base [path to base file] \
    --target /mnt/lustre/datasets/ukbiobank/June2017/Genotypes/ukb_binary_v2,/mnt/lustre/groups/ukbiobank/KCL_Data/Genotypes/ukb1657_cal_chr1_v2_s488374.fam \
    --type bed \
    --binary-target F \
    --out [redacted]\
    --thread 4 \
    --keep [path]/Keeps_For_PRSice.txt \
    --bar-levels 0.05,1 \
    --pheno-file [path]Pheno.txt \
    --clump-kb 250 \
    --clump-p 1 \
    --clump-r2 0.1 \
    --extract [path]_Includes.txt \
    --stat BETA \
    --chr CHR \
    --A1 A1 \
    --A2 A2 \
    --snp SNP \
    --bp BP \
    --se SE \
    --pvalue P \
    --beta \
    --fastscore

Loading Genotype file: /mnt/lustre/datasets/ukbiobank/June2017/Genotypes/ukb_binary_v2 (bed)
With external fam file: /mnt/lustre/groups/ukbiobank/KCL_Data/Genotypes/ukb1657_cal_chr1_v2_s488374.fam
terminate called after throwing an instance of 'std::runtime_error'
  what():  Error: Cannot open bim file: /mnt/lustre/datasets/ukbiobank/June2017/Genotypes/ukb_binary_v2,/mnt/lustre/groups/ukbiobank/KCL_Data/Genotypes/ukb1657_cal_chr1_v2_s488374.fam.bim

This can be worked around by creating a symbolic link to the different components with a shared prefix

from prsice.

choishingwan avatar choishingwan commented on September 13, 2024

The update b22610e has now solve this problem. In addition, that should no longer complain about size of bed file when sex chromosome stuff is included (Haven't got an example file for me to test that though...)

from prsice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.