================ Umbrella Studies ================ Umbrella Studies are study objects in the ENA which provide a hierarchal grouping of other studies. This is useful for grouping together any separate-but-related data you have, especially where the datasets will have different release dates. The release dates of the umbrella and its children are independent of each other. Please note that umbrella studies can only be created and updated from the command line, by using curl to submit XML files you have created. Decide which of the following scenarios best describes your need and follow the relevant guidance: - I would like to register an umbrella study so I can add child projects in the future: `Create an Umbrella Study`_ - I have existing studies I would like to group together under an umbrella: `Grouping Studies Under An Umbrella`_ - I have an umbrella already and would like to add child studies to it: `Adding Children To An Umbrella`_ In either case, you will need to create two XML files, then submit them to us with a `curl command <../submit/study/programmatic.html#submit-the-xmls-using-curl>`_. If you wish to test your submission, specify the URL of the test service in your curl command: https://wwwdev.ebi.ac.uk/ena/submit/drop-box/submit/ Create an Umbrella Study ======================== To register an umbrella study, you will need to create two XML files. **submission.xml:** .. code-block:: xml It is good practice to provide a release date for an umbrella project which does not have any child projects associated to it yet. Any child projects added to the umbrella will have their own release dates independent of the umbrella project. **umbrella_project.xml:** .. code-block:: xml TODO:Title_text_here TODO:Description_text_here Grouping Studies Under An Umbrella ================================== To group your studies under an umbrella, you will need to create two XML files. **submission.xml:** .. code-block:: xml It is good practice to provide a specific release date for an umbrella project using the HOLD action in the submission XML. When this date arrives, the umbrella project will become public automatically. However, this is optional and if not provided, the release date defaults to two years after registration. Each child project is released independently and they each have their own hold date which is determined on registration, the umbrella project release does not determine the child project(s) release. **umbrella.xml:** .. code-block:: xml TODO:Title_text_here TODO:Description_text_here Edit umbrella.xml to contain the following information: - Alias (a unique, informative name for your project) - Title - Description - Child project accessions You can add more child projects by inserting more blocks, or you can remove a block from this example if you only wish to add one project at this time. When you are satisfied with the changes you have made to umbrella.xml you should run the following command from the directory in which both XML files are located: .. code-block:: shell curl -u Username:Password -F "SUBMISSION=@submission.xml" -F "PROJECT=@umbrella.xml" "https://www.ebi.ac.uk/ena/submit/drop-box/submit/" | You must edit the command to include your Webin account ID and password. You can make a practice submission to our test server before your final submission if are unsure of the process. To do this, change the URL at the end to https://wwwdev.ebi.ac.uk/ena/submit/drop-box/submit/ then run the command as normal. | You will receive a receipt in XML form. You should note the 'success' attribute which will be true or false to indicate success or failure of your submission. If the submission was successful, the receipt will also contain the accessions of your project. These begin 'ERP' and 'PRJEB'. The receipt for a failed submission will contain error messages which will advise you on how to fix your submission. Adding Children To An Umbrella ============================== If you have already created an umbrella study and want to add a child study to it, create the following XML files. **update.xml:** .. code-block:: xml **umbrella_modified.xml:** .. code-block:: xml TODO:Title_text_here TODO:Description_text_here The file umbrella_modified.xml should look very similar to the umbrella.xml used during registration. The 'TITLE', DESCRIPTION' and 'alias' should be the same. This time, the 'RELATED PROJECTS' block should be made up of any new projects you would like to add to the umbrella. For example, to add a single project to your umbrella, you should include a single block specifying the project to be added. You do not need to include the full list of exisiting child projects when updating your umbrella project, you only need to include new projects to be added. Please note that projects can not be removed from an umbrella by modifying this XML and if you need to remove any projects from your umbrella, please `contact us `_. When you are satisfied with the updates to your umbrella project XML file, submit via curl: .. code-block:: shell curl -u Username:Password -F "SUBMISSION=@update.xml" -F "PROJECT=@umbrella_modified.xml" "https://www.ebi.ac.uk/ena/submit/drop-box/submit/" | Edit the command to include your Webin account ID and password. You can make a practice submission to our test server before you submit to the production server if you want to test your files. To do this, change the URL at the end of the command to https://wwwdev.ebi.ac.uk/ena/submit/drop-box/submit/ then run the command. | You will receive a receipt in XML form. Note the 'success' attribute in this receipt, which will read true or false to indicate whether your submission was accepted. If the submission failed, there will be specific error messages to advise you of the problem. Releasing Umbrella Studies ========================== Umbrella studies do not appear in the list of studies shown in your Webin account. Modifying the release date must therefore be done programmatically as well. Create an XML with the HOLD action, specifying the new release date and project accession or alternatively, use the RELEASE action to release the study as soon as possible: **hold_date.xml** .. code-block:: xml Submit this XML to us using curl: .. code-block:: shell curl -u Username:Password -F "SUBMISSION=@hold_date.xml" "https://www.ebi.ac.uk/ena/submit/drop-box/submit/" You will be presented with an XML which contains an attribute 'success'. This will indicate to you whether the update has been accepted or not.