Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correlation issues #718

Open
akumar289 opened this issue Aug 10, 2022 · 16 comments
Open

Correlation issues #718

akumar289 opened this issue Aug 10, 2022 · 16 comments

Comments

@akumar289
Copy link

akumar289 commented Aug 10, 2022

GeneNetwork tux01:gene:2.11-rc2-testing-85ad78373 
run_sample_corr_cmd() got an unexpected keyword argument 'corr_method' (error)

Running literature correlation and running into the above error

GeneNetwork tux01:gene:2.11-rc2-testing-85ad78373
Command '['python3', '-m', 'scripts.sample_correlations', 'pearson', '/home/gn2/production/tmp/gn2/tmpnhcigw3k/traitfile_Mlp44Q34yP', '/home/gn2/production/tmp/gn2/tmpnhcigw3k/targetdb_AhL9ppyRIq', '/home/gn2/production/tmp/gn2/tmpnhcigw3k/corrs_RDe5RaNaPn']' returned non-zero exit status 1. (error)

Running a sample r correlation and run into the above error

 GeneNetwork tux01:gene:2.11-rc2-testing-85ad78373 
    'dict object' has no attribute 'corr' (error)

Running a partial correlation produces this above error

@akumar289 akumar289 changed the title Lit correlation Correlation issues Aug 10, 2022
@BonfaceKilz
Copy link
Collaborator

BonfaceKilz commented Aug 11, 2022 via email

@akumar289
Copy link
Author

I was wondering if there is any update regarding this?

@zsloan
Copy link
Contributor

zsloan commented Aug 15, 2022 via email

@BonfaceKilz
Copy link
Collaborator

BonfaceKilz commented Aug 16, 2022 via email

@arunisaac
Copy link
Contributor

It looks like the profile needs to be rebuilt.

I don't yet have access to production, though I am trying to get access. So, I can't help immediately. Maybe @pjotrp can.

@akumar289
Copy link
Author

FWIW

Did a literature correlation using the Full Retina database and produced this error again

GeneNetwork tux01:gene:2.11-rc2-HEAD-fcd2897fa
run_sample_corr_cmd() got an unexpected keyword argument 'corr_method' (error)

@robwwilliams
Copy link
Contributor

robwwilliams commented Aug 16, 2022 via email

@zsloan
Copy link
Contributor

zsloan commented Aug 16, 2022

Perhaps @Arun can help; he has access to production. FWIW, I tested out a build of the latest GN2 and created a profile for it locally, and things work just fine.

@BonfaceKilz I don't doubt that there's some way to do this; it's just that the old command for it no longer seems to work. This is the command I was using (to create a profile in my branch):

env GUIX_PACKAGE_PATH='/home/zas1024/guix-bioinformatics:/home/zas1024/guix-past/modules' /home/zas1024/.config/guix/current/bin/guix install genenetwork2 -p ~/opt/gn2__20220812 --substitute-urls="http://guix.genenetwork.org https://berlin.guixsd.org https://ci.guix.gnu.org https://mirror.hydra.gnu.org"

It complains about there being no "genenetwork2" package; I tried substituting in a couple alternatives in case the names changed at some point (since I remember it used to be "python3-genenetwork2" until it was changed to genenetwork2, IIRC, and I also tried "genenetwork"). Instead of asking like this, is there a way I can check myself?

@zsloan
Copy link
Contributor

zsloan commented Aug 16, 2022 via email

@BonfaceKilz
Copy link
Collaborator

BonfaceKilz commented Aug 16, 2022 via email

@akumar289
Copy link
Author

akumar289 commented Aug 17, 2022

I reverted to earlier commits that I think should get the literature correlation working again (but may lose other changes from the past couple weeks).

Re-ran Lit correlation and ran into a new error (I think):

Settings were lit correlation, top 1000, HEI Full Retina Illumina V6.2 (Apr10) RankInv, trait ID: ILMN_2547762

GeneNetwork tux01:gene:2.11-rc2-HEAD-e8bd857c6
Command '['python3', '-m', 'scripts.sample_correlations', 'pearson', '/home/gn2/production/tmp/gn2/tmp8443bcr5/traitfile_3xYdm0U3Mt', '/home/gn2/production/tmp/gn2/tmp8443bcr5/targetdb_2ITMn1AKO2', '/home/gn2/production/tmp/gn2/tmp8443bcr5/corrs_sdDUH2Amcb']' returned non-zero exit status 1. (error)

@zsloan
Copy link
Contributor

zsloan commented Aug 17, 2022 via email

@akumar289
Copy link
Author

Was wondering if there was any update on this? Appreciate your help. I tried the same inputs as before and the same error appears as above

GeneNetwork tux01:gene:2.11-rc2-HEAD-3e1f9f2b6
Command '['python3', '-m', 'scripts.sample_correlations', 'pearson', '/home/gn2/production/tmp/gn2/tmp0_rp41hc/traitfile_dWcRNY6DsK', '/home/gn2/production/tmp/gn2/tmp0_rp41hc/targetdb_qRZDu4Mmez', '/home/gn2/production/tmp/gn2/tmp0_rp41hc/corrs_nQBccOkS5A']' returned non-zero exit status 1. (error)

@zsloan
Copy link
Contributor

zsloan commented Aug 23, 2022 via email

@akumar289
Copy link
Author

Understood. However, I ran the literature correlation against the same dataset of the trait in question.

@zsloan
Copy link
Contributor

zsloan commented Aug 24, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants