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

update rptools + rp2paths versions #147

Merged
merged 63 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
d74f08e
chore(github): update workflows
guillaume-gricourt May 22, 2023
74597bd
chore(github): add CONTRIBUTING
guillaume-gricourt May 22, 2023
05a43f7
fix(get_sbml_model): rm 'parent'
breakthewall May 22, 2023
ce6583e
chore(get_sbml_model): handle errors
breakthewall May 22, 2023
34d0ed8
fix(get_sbml_model): fix 'requests' version
breakthewall May 22, 2023
4a0b08b
taxonid (#114)
breakthewall May 22, 2023
a1d3026
Merge branch 'taxonid'
breakthewall May 22, 2023
b87d547
chore(github): workflow release
guillaume-gricourt May 23, 2023
3ad38c0
Merge branch 'main' of github.com:brsynth/synbiocad-galaxy-wrappers
guillaume-gricourt May 23, 2023
3f1bce2
feat(selenzy_wrapper): give taxon ID via a file
breakthewall May 23, 2023
45a7c18
chore(selenzy_wrapper): rm comment (#115)
breakthewall May 23, 2023
fbfd016
Taxonid (#116)
breakthewall May 23, 2023
71e08a7
Taxonid (#117)
breakthewall May 23, 2023
2f25f89
chore(deps): bump tj-actions/changed-files from 35 to 36 (#120)
dependabot[bot] May 30, 2023
a5b69fe
fix(github): workflow syntax
guillaume-gricourt May 30, 2023
1e01b67
chore: rm config folders (#118)
breakthewall May 30, 2023
00bca56
Workflows `basic_assembly_workflow` (#119)
guillaume-gricourt Jun 5, 2023
f7df623
fix(tools): update `sbol_converter` commands (#122)
guillaume-gricourt Jun 5, 2023
22da397
chore(github): fix syntax
guillaume-gricourt Jun 6, 2023
5a21330
Add `pathway_analysis` workflow (#128)
guillaume-gricourt Jun 8, 2023
0238433
feat(workflows): add `retrosynthesis` (#129)
guillaume-gricourt Jun 9, 2023
a28bed0
rp2biosensor: syntax (#130)
guillaume-gricourt Jun 12, 2023
5a51e96
feat(workflows): add `biosensor` (#131)
guillaume-gricourt Jun 12, 2023
e41ed8b
feat(workflows): add `straindesign` (#132)
guillaume-gricourt Jun 12, 2023
4dcb0f3
feat(workflows): add `genetic assembly` (#133)
guillaume-gricourt Jun 12, 2023
2460675
chore(github): fix syntax
guillaume-gricourt Jun 13, 2023
6f759e3
chore(github): update workflows to skip
guillaume-gricourt Jun 19, 2023
c5acde8
chore(github): fix artefacts log
guillaume-gricourt Jun 19, 2023
0039ba8
Tools: `selenzy_wrapper` (#134)
guillaume-gricourt Jun 19, 2023
358bd27
chore(github): workflows, fix workflow call
guillaume-gricourt Jun 20, 2023
4818f94
chore(deps): bump tj-actions/changed-files from 36 to 37 (#135)
dependabot[bot] Jun 27, 2023
7dd996b
chore(github): merge release workflows
guillaume-gricourt Jun 27, 2023
3f3ef2c
chore(github): fix syntax
guillaume-gricourt Jun 27, 2023
b29963e
doc(sampler): update
breakthewall Jun 29, 2023
f20f60f
fix(tools): sampler, table syntax (#136)
guillaume-gricourt Jul 3, 2023
f48e512
doc(changelog): update
guillaume-gricourt Jul 4, 2023
cb8252e
doc(changelog): update
guillaume-gricourt Jul 11, 2023
df9aa45
doc(changelog): update
guillaume-gricourt Jul 18, 2023
e4b75b1
doc(changelog): update
guillaume-gricourt Jul 25, 2023
a09f2db
doc(changelog): update
guillaume-gricourt Aug 1, 2023
6be8925
doc(changelog): update
guillaume-gricourt Aug 8, 2023
c9c9c7b
doc(changelog): update
guillaume-gricourt Aug 15, 2023
77c42c2
doc(changelog): update
guillaume-gricourt Aug 22, 2023
87a863d
get_sbml_model, enable to load file from history (#137)
guillaume-gricourt Aug 28, 2023
3412c99
doc(changelog): update
guillaume-gricourt Aug 29, 2023
4cffff2
fix load from file
breakthewall Sep 1, 2023
b23cdd4
doc(changelog): update
guillaume-gricourt Sep 5, 2023
ad7e677
chore(deps): bump actions/checkout from 3 to 4 (#140)
dependabot[bot] Sep 5, 2023
37d7be9
doc(changelog): update
guillaume-gricourt Sep 12, 2023
6d13d64
doc(changelog): update
guillaume-gricourt Sep 19, 2023
6a7b408
doc(changelog): update
guillaume-gricourt Sep 26, 2023
1a86e55
feat(tools): get_sbml_model, load file from history (#139)
guillaume-gricourt Sep 26, 2023
57acb54
fix(get_sbml_model.xml): rm weird commands
breakthewall Sep 26, 2023
8c6b733
fix(get_sbml_model.xml): add --bigg
breakthewall Sep 26, 2023
d7b0276
feat: add --biomass-id arg + refactor
breakthewall Sep 26, 2023
aa5a9ac
feat(tools): get_sbml_model, load file from history (#143)
breakthewall Sep 26, 2023
e3d0227
chore(deps): bump tj-actions/changed-files from 37 to 39 (#142)
dependabot[bot] Sep 29, 2023
513db7f
Updating dnabot from version 3.1.0 to 4.1.0 (#141)
guillaume-gricourt Sep 29, 2023
9fe4f29
doc(changelog): update
guillaume-gricourt Oct 3, 2023
14f6dc2
feat(tools): add `neo4jsbml` (#144)
guillaume-gricourt Oct 9, 2023
f8bd749
doc(changelog): update
guillaume-gricourt Oct 10, 2023
1ce9c19
doc(changelog): update
guillaume-gricourt Oct 17, 2023
8963ffc
Rptools (#146)
breakthewall Oct 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Contributing

Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.

## Ways you can help

### Report Bugs

Report bugs at <https://github.com/brsynth/synbiocad-galaxy-wrappers/issues>.

If you are reporting a bug, please include:

- Your operating system name and version, versions of synbiocad-galaxy-wrappers and the wrapper associated.
- Any details about your local setup that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug.

### Fix Bugs

Look through the GitHub issues for bugs. Anything tagged with `bug` is open to whoever wants to implement it.

### Implement Features

Look through the GitHub issues for features. Anything tagged with `enhancement` is open to whoever wants to implement it.

### Write Documentation

Same as Implement Features

### Submit Feedback

The best way to send feedback is to file an issue at <https://github.com/brsynth/synbiocad-galaxy-wrappers/issues>.

If you are proposing a feature:

- Explain in detail how it would work.
- Keep the scope as narrow as possible, to make it easier to implement.
- This will hopefully become a community-driven project and contributions are welcome :)

## Pull Request Guidelines

Open a Pull Request will trigger a bunch of tests checking:

1. the `.shed.yml` file
2. the wrapper with `planemo`

Add a reviewer: `@guillaume-gricourt` or `@breakthewall` or `@tduigou`
When the Pull Request will be closed, the wrapper will be updated in the following repository:
1. testtoolshed
2. toolshed

This policy was modified from [planemo project](https://github.com/galaxyproject/planemo/blob/master/CONTRIBUTING.rst)
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint Code Base
Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
nb: ${{ steps.set-matrix.outputs.nb }}
steps:
- name: 'Checkout'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Select modified files'
id: files
#uses: Ana06/[email protected]
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@v39
with:
files: tools/**
separator: ","
Expand All @@ -46,11 +46,11 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: 'Checkout'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'List repos'
id: set-matrix
run: |
matrix=$(jq -R -s -c '[split("\n")[] | select(.|length>0)]' .github/workflows/test_skip.txt)
matrix=$(jq -R -s -c '[split("\n")[] | select(.|length>0)]' .github/workflows/test_tools_skip.txt)
echo "Number of repos: ${matrix}"
echo "matrix=$matrix" >> "${GITHUB_OUTPUT}"

Expand All @@ -64,7 +64,7 @@ jobs:
repo: ${{ fromJson(needs.list.outputs.matrix) }}
steps:
- name: 'Checkout'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Setup python"
uses: actions/setup-python@v4
with:
Expand All @@ -85,7 +85,7 @@ jobs:
./scripts/shed_lint.py -i "tools/${{ matrix.repo }}"
- name: 'Test tool'
if: ${{ ! contains(fromJson(needs.skip.outputs.matrix), matrix.repo) }}
timeout-minutes: 60
timeout-minutes: 120
continue-on-error: true
run: |
planemo test \
Expand All @@ -95,16 +95,18 @@ jobs:
--galaxy_source https://github.com/galaxyproject/galaxy \
--galaxy_branch release_22.05 \
--galaxy_python_version 3.7 \
"tools/${{ matrix.repo }}" || { touch tool_test_output.html tool_test_output.json; }
"tools/${{ matrix.repo }}"
- name: 'Prepare artefact'
run: |
touch tool_test_output.html tool_test_output.json
zip -9 ${{ matrix.repo }}.zip tool_test_output.html tool_test_output.json
- name: 'Upload Artifact Version'
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.repo }}-artifact
path: ${{ matrix.repo }}.zip
- name: 'Aggregate results'
if: ${{ ! contains(fromJson(needs.skip.outputs.matrix), matrix.repo) }}
run: |
./scripts/aggregate_test.py -i .

Expand All @@ -119,7 +121,7 @@ jobs:
repo: ${{ fromJson(needs.list.outputs.matrix) }}
steps:
- name: 'Checkout'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Setup python"
uses: actions/setup-python@v4
with:
Expand All @@ -136,3 +138,5 @@ jobs:
- name: 'Main ToolShed'
run: |
planemo shed_update --force_repository_creation --shed_target toolshed --shed_key "${{ secrets.TOOLSHED }}" "tools/${{ matrix.repo }}" || planemo shed_update --force_repository_creation --shed_target toolshed --shed_key "${{ secrets.TOOLSHED }}" "tools/${{ matrix.repo }}"
- name: 'Create release'
uses: ./.github/workflows/release.yml
120 changes: 120 additions & 0 deletions .github/workflows/prworkflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
name: PullRequestWorkflow

on:
pull_request:
types:
- edited
- opened
- reopened
- synchronize
pull_request_target:
types:
- closed

jobs:

list:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
nb: ${{ steps.set-matrix.outputs.nb }}
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Select modified files'
id: files
#uses: Ana06/[email protected]
uses: tj-actions/changed-files@v39
with:
files: workflows/**
separator: ","
- name: 'List repos'
id: set-matrix
run: |
echo "list file modified"
echo ${{ steps.files.outputs.all_changed_and_modified_files }}
matrix=$(echo ${{ steps.files.outputs.all_changed_and_modified_files }} | jq -R -s -c 'split(",") | map(select(contains("workflows"))) | map(split("/")[1]) | sort | unique')
echo "list of repo: ${matrix}"
echo "matrix=$matrix" >> "${GITHUB_OUTPUT}"
nb=$(echo ${matrix} | jq -s -c '.[] | length')
echo "Number of repos: ${nb}"
echo "nb=$nb" >> "${GITHUB_OUTPUT}"

skip:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'List repos'
id: set-matrix
run: |
matrix=$(jq -R -s -c '[split("\n")[] | select(.|length>0)]' .github/workflows/test_workflows_skip.txt)
echo "Number of repos: ${matrix}"
echo "matrix=$matrix" >> "${GITHUB_OUTPUT}"

test:
needs: [list, skip]
if: ${{ github.event.pull_request.merged == false && needs.list.outputs.nb > 0 }}
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
repo: ${{ fromJson(needs.list.outputs.matrix) }}
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: "Setup python"
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
cache-dependency-path: |
env/requirements.txt
- name: 'Install packages'
run: |
pip install -r env/requirements.txt
- name: 'Worfklow Lint'
run: |
planemo workflow_lint \
--fail_level error \
"workflows/${{ matrix.repo }}"
- name: 'Test tool'
if: ${{ ! contains(fromJson(needs.skip.outputs.matrix), matrix.repo) }}
timeout-minutes: 60
run: |
planemo test \
--engine external_galaxy \
--galaxy_url https://galaxy-synbiocad.org \
--galaxy_user_key "${{ secrets.GG_SYNBIOCAD_TOKEN }}" \
"workflows/${{ matrix.repo }}/${{ matrix.repo }}.ga"

shed:
needs: list
if: ${{ github.event.pull_request.merged == true && needs.list.outputs.nb > 0 }}
runs-on: ubuntu-latest
continue-on-error: true
strategy:
max-parallel: 1
matrix:
repo: ${{ fromJson(needs.list.outputs.matrix) }}
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: "Setup python"
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
cache-dependency-path: |
env/requirements.txt
- name: 'Install packages'
run: |
pip install -r env/requirements.txt
- name: 'Deploy'
run: |
./scripts/upload_workflow.py \
--workflow "workflows/${{ matrix.repo }}/${{ matrix.repo }}.ga" \
--galaxy_url https://galaxy-synbiocad.org \
--galaxy_user_key "${{ secrets.GG_SYNBIOCAD_TOKEN }}"
Loading
Loading