opencb / opencga

An Open Computational Genomics Analysis platform for big data genomics analysis. OpenCGA is maintained and develop by its parent company Zetta Genomics. Please contact support@zettagenomics.com for bug report and feature requests.
Apache License 2.0
166 stars 97 forks source link

ERROR: More than one study found. Please, be more specific. The accepted pattern is [ownerId@projectId:studyId] #1562

Open Mohammedhusen opened 4 years ago

Mohammedhusen commented 4 years ago

Hi Team,

Hope you are doing well and safe!

I was loading clinical data using variable and annotation set and getting blow error even though I am giving full study id:

ERROR: More than one study found. Please, be more specific. The accepted pattern is [ownerId@projectId:studyId]

Command :

./opencga.sh individuals annotation-sets-create --annotation-set-name individualAnnotName --annotations ~/1234_as.json --id 1234 --variable-set-id demographics -s [user@project:studyid]

imedina commented 4 years ago

All good so far, thanks!

The pattern is [user@project:studyid], this means you need to replace the pattern with your correct values, for instance:

_./opencga.sh individuals annotation-sets-create --annotation-set-name individualAnnotName --annotations ~/1234as.json --id 1234 --variable-set-id demographics -s mohammed@projectId:studyId

where mohammed is the owner or admin of the study (http://docs.opencb.org/display/opencga/Sharing+and+Permissions).

ericpanyc commented 3 years ago

Hi team, I was trying to annotate an individual following the tutorial, but even when I providing the whole study name to the command, it still throws the same error. Below is the command I ran: ./opencga.sh individuals annotation-sets-create --annotation-set-name individualAnnotName --annotations ~/individual_as.json --id test_individual1 --variable-set-id individual_private_details -s cpmadminuser@CHLA-CPM-OncoKids:OK-Merged ERROR: More than one study found. Please, be more specific. The accepted pattern is [ownerId@projectId:studyId]

Checking user project study: ./opencga.sh users info

(U)ID NAME E-MAIL ORGANIZATION ACCOUNT_TYPE SIZE QUOTA

(P) ID NAME ORGANIZATION DESCRIPTION SIZE

(S) ID NAME TYPE DESCRIPTION #GROUPS SIZE

cpmadminuser cpmadminuser agovindarajan@chla.usc.edu - full -1 200000

Checking if the individual is there: ./opencga.sh individuals info --individual test_individual1 -s OK-Merged

ID NAME AFFECTATION_STATUS SEX KARYOTYPIC_SEX ETHNICITY POPULATION SUBPOPULATION LIFE_STATUS STATUS FATHER_ID MOTHER_ID CREATION_DATE

test_individual1 test_individual1 UNKNOWN UNKNOWN UNKNOWN - NA NA UNKNOWN READY - - 20210820224609

pfurio commented 3 years ago

Can you run opencga.sh --version and let us know the result to know the OpenCGA version you are using exactly?