Skip to content

Commit

Permalink
Updated install_tutorial_requirements.sh + minor fixes (#1275)
Browse files Browse the repository at this point in the history
* Install_tutorial_requirements.sh now installs tools from workflows
* Extensions of LC-MS - Data Import data-library fixed
* Used unzipped DOI of zenodo for iwtomics tutorial
* Deleted empty workflow files
* Changed revision of tools NCBI blast +, busco, custom_pro_db and goseq to latest version in workflows
  • Loading branch information
bedroesb authored and bgruening committed Feb 27, 2019
1 parent b1dd99e commit 6eef55b
Show file tree
Hide file tree
Showing 18 changed files with 67 additions and 84 deletions.
32 changes: 16 additions & 16 deletions bin/install_tutorial_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,24 @@ tutorial=$1
galaxy_url=$2
api_key=$3

# install tools
echo "Installing Tools.."
if [ -f ${tutorial}/tools.yaml ]

# install workflows and tools
echo "Installing workflows"
if [ -d ${tutorial}/workflows ]
then
shed-tools install -g ${galaxy_url} -a ${api_key} -t ${tutorial}/tools.yaml
echo " - Extracting tools from workflows"
for w in ${tutorial}/workflows/*.ga
do
workflow-to-tools -w $w -o ${tutorial}/workflows/wftools.yaml -l $(basename ${tutorial})
echo " - Installing tools from workflow $(basename $w)"
shed-tools install -g ${galaxy_url} -a ${api_key} -t ${tutorial}/workflows/wftools.yaml
rm ${tutorial}/workflows/wftools.yaml
done
echo " - Installing workflows"
workflow-install --publish_workflows -g ${galaxy_url} -a ${api_key} -w ${tutorial}/workflows/

else
echo "No tools to install (no file named tools.yaml present)"
echo "No workflows to install (no directory named workflow present)"
fi

# install data libraries
Expand All @@ -42,15 +53,4 @@ else
echo "No reference data to install (no file named data-manager.yaml present)"
fi

# install workflows
echo "Installing workflows"
if [ -d ${tutorial}/workflows ]
then
workflow-install --publish_workflows -g ${galaxy_url} -a ${api_key} -w ${tutorial}/workflows/

else
echo "No workflows to install (no directory named workflow present)"
fi


# install tours --> not possible via API yet
8 changes: 6 additions & 2 deletions shared/datatypes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,24 @@ fastq.gz: fastqsanger.gz
fastq.bz: fastqsanger.bz2
fastqsanger: fastqsanger
fastqsanger.gz: fastqsanger.gz
fastqsanger.bz: fastqsanger.bz2
fna: fasta
fastqsanger.bz: fastqsanger.bz
fa: fasta
fna: fasta
fq: fastqsanger
gbk: gbk
gff: gff
gff3: gff3
gtf: gtf
gz: gz
html: html
ibd: ibd
idat: idat
imzML: imzml
metadata: tabular
mgf: mgf
mzml: mzml
mzXML: mzxml
obo: obo
raw: raw
sqlite: sqlite
tabular: tabular
Expand Down

This file was deleted.

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ items:
items:
- url: https://zenodo.org/api/files/bec310ad-b614-493a-8e30-5faf0f78b46e/Blanc12.mzXML
src: url
ext: '# Please add a Galaxy datatype or update the shared/datatypes.yaml file'
ext: mzxml
info: https://doi.org/10.5281/zenodo.1346742
- url: https://zenodo.org/api/files/bec310ad-b614-493a-8e30-5faf0f78b46e/Blanc17.mzXML
src: url
ext: '# Please add a Galaxy datatype or update the shared/datatypes.yaml file'
ext: mzxml
info: https://doi.org/10.5281/zenodo.1346742
- url: https://zenodo.org/api/files/bec310ad-b614-493a-8e30-5faf0f78b46e/HU_neg_099.mzXML
src: url
ext: '# Please add a Galaxy datatype or update the shared/datatypes.yaml file'
ext: mzxml
info: https://doi.org/10.5281/zenodo.1346742
- url: https://zenodo.org/api/files/bec310ad-b614-493a-8e30-5faf0f78b46e/HU_neg_178.mzXML
src: url
ext: '# Please add a Galaxy datatype or update the shared/datatypes.yaml file'
ext: mzxml
info: https://doi.org/10.5281/zenodo.1346742
- url: https://zenodo.org/api/files/bec310ad-b614-493a-8e30-5faf0f78b46e/sacuri_sampleMetadata.tsv
src: url
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ destination:
description: Galaxy Training Network Material
synopsis: Galaxy Training Network Material. See https://training.galaxyproject.org
items:
- name: The new topic
description: Summary
- name: Metabolomics
description: Training material to analyse Metabolomics data in Galaxy - LCMS, FIAMS, GCMS and NMR<br/>Most of the training are using the tools from the <a href='http://workflow4metabolomics.org/'>Workflow4Metabolomics</a> (W4M) project.
items:
- name: Title of the tutorial
- name: Msi analyte distribution
items:
- name: 'DOI: 10.5281/zenodo.484496'
description: latest
Expand Down
7 changes: 0 additions & 7 deletions topics/proteomics/tutorials/labelfree-vs-labelled/tools.yaml

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ items:
items:
- url: https://zenodo.org/api/files/463f6b73-0c42-4be4-8b52-181a8e093abd/mouse_kidney_cut.ibd
src: url
ext: '# Please add a Galaxy datatype or update the shared/datatypes.yaml file'
ext: ibd
info: https://doi.org/10.5281/zenodo.1560645
- url: https://zenodo.org/api/files/463f6b73-0c42-4be4-8b52-181a8e093abd/mouse_kidney_cut.imzML
src: url
ext: '# Please add a Galaxy datatype or update the shared/datatypes.yaml file'
ext: imzml
info: https://doi.org/10.5281/zenodo.1560645
7 changes: 0 additions & 7 deletions topics/proteomics/tutorials/ntails/tools.yaml

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

30 changes: 27 additions & 3 deletions topics/statistics/tutorials/iwtomics/data-library.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,34 @@ items:
items:
- name: Interval-Wise Testing for omics data
items:
- name: 'DOI: 10.5281/zenodo.1184682'
- name: 'DOI: 10.5281/zenodo.1288429'
description: latest
items:
- url: https://zenodo.org/api/files/d43d8e47-11fc-42de-a10f-461103f4be05/IWTomics_ETn_dataset_example.zip
- url: https://zenodo.org/api/files/04cbd251-fe0b-4408-9f90-e2aecd61ef09/Control.bed
src: url
ext: bed
info: https://zenodo.org/record/1288429
- url: https://zenodo.org/api/files/04cbd251-fe0b-4408-9f90-e2aecd61ef09/DESCRIPTION.txt
src: url
ext: txt
info: https://zenodo.org/record/1288429
- url: https://zenodo.org/api/files/04cbd251-fe0b-4408-9f90-e2aecd61ef09/ETn_fixed.bed
src: url
ext: bed
info: https://zenodo.org/record/1288429
- url: https://zenodo.org/api/files/04cbd251-fe0b-4408-9f90-e2aecd61ef09/features_header.tabular
src: url
ext: tabular
info: https://zenodo.org/record/1288429
- url: https://zenodo.org/api/files/04cbd251-fe0b-4408-9f90-e2aecd61ef09/IWTomics_ETn_dataset_example.zip
src: url
ext: zip
info: https://doi.org/10.5281/zenodo.1184682
info: https://zenodo.org/record/1288429
- url: https://zenodo.org/api/files/04cbd251-fe0b-4408-9f90-e2aecd61ef09/Recombination_hotspots.txt
src: url
ext: txt
info: https://zenodo.org/record/1288429
- url: https://zenodo.org/api/files/04cbd251-fe0b-4408-9f90-e2aecd61ef09/regions_header.tabular
src: url
ext: tabular
info: https://zenodo.org/record/1288429
2 changes: 1 addition & 1 deletion topics/statistics/tutorials/iwtomics/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: tutorial_hands_on

title: "Interval-Wise Testing for omics data"
zenodo_link: "https://doi.org/10.5281/zenodo.1184682"
zenodo_link: "https://doi.org/10.5281/zenodo.1288429"
questions:
- "How to visualize high-resolution omics data in different groups of genomic regions?"
- "How to evaluate differences in high-resolution omics data between groups of genomic regions?"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2378,8 +2378,8 @@
"type": "tool"
},
"39": {
"tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/goseq/goseq/1.26.0",
"tool_version": "1.26.0",
"tool_id": "toolshed.g2.bx.psu.edu/repos/iuc/goseq/goseq/1.34.0",
"tool_version": "1.34.0",
"outputs": [
{
"type": "tabular",
Expand Down Expand Up @@ -2427,7 +2427,7 @@
"id": 39,
"tool_shed_repository": {
"owner": "iuc",
"changeset_revision": "ab492df30cdf",
"changeset_revision": "07f6832bdd4d",
"name": "goseq",
"tool_shed": "toolshed.g2.bx.psu.edu"
},
Expand Down Expand Up @@ -2477,7 +2477,7 @@
"left": 1761
},
"annotation": "",
"content_id": "toolshed.g2.bx.psu.edu/repos/iuc/goseq/goseq/1.26.0",
"content_id": "toolshed.g2.bx.psu.edu/repos/iuc/goseq/goseq/1.34.0",
"type": "tool"
},
"40": {
Expand Down Expand Up @@ -2532,4 +2532,4 @@
},
"annotation": "",
"a_galaxy_workflow": "true"
}
}

This file was deleted.

0 comments on commit 6eef55b

Please sign in to comment.