Skip to content

Several Initial Issues (installation + execution) #1

Description

@kulmsc

Apologies that this is not the standard bug report, but after some labor I have finally gotten the code of this repository to run on my own machine and I thought it could be beneficial to report the steps I had to take to accomplish this task.

  1. TeraPCA would not compile on a new M1 Mac (or at least it would not after 6 hours of trying). It could be great if the PCs were computed from a program that did not require the whole "make" process.
  2. Python 3.6 was required, with numpy between 1.18 and 1.23. Additionally, torchvision and ray were required yet are not listed. A yml that makes a conda environment would really help this process.
  3. The input file (specifically for access point 3) must be comma delimited. The "Population IDs" column must be labeled "ancs" and a numeric data type. There are some other confusing statements in the ReadMe (pheno is described twice).
  4. I received many errors along the lines of "RuntimeError: mat1 and mat2 shapes cannot be multiplied (32x3 and 8x128)". This appears to be caused by a disconnect in NN layer dimensions. The 8 in this example corresponds to the num_covs + num_pcs +1, I don't know where the 3 comes. This appears to severely limit the possible features of the repo.
  5. The results_summary function errored out because of a dictionary key issue. While not a bug, it would be great if there was a more direct way to save the PRSs themselves. I suspect many users want to analyze the PRSs rather than only rely on FairPRS calculated accuracy statistics.

Thank you for making a promising PRS tool. I hope these issues can help further development.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions