forked from ome/aspera-client-docker
-
Notifications
You must be signed in to change notification settings - Fork 5
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 aspera-client-docker image to use the new download workflow #5
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
7a0b8aa
Update aspera-client-docker image to use the new download workflow
sbesson ab405c3
DockerfileM1
pwalczysko 9cc1c02
Modify Dockerfile cf. Seb's comment
pwalczysko 39b8bf4
Remove DockerfileM1 as now Dockerfile works for both M1 and intel
pwalczysko 4b40389
Merge pull request #1 from pwalczysko/m1
sbesson bdb8f26
Use Rocky Linux 9 as the base image
sbesson 455b9cc
Bump GitHub Actions version
sbesson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM centos:centos7 | ||
FROM --platform=linux/amd64 rockylinux:9 | ||
MAINTAINER [email protected] | ||
|
||
RUN useradd data | ||
|
@@ -19,6 +19,7 @@ ENV ASCP_KEY /home/data/.aspera/connect/etc/asperaweb_id_dsa.openssh | |
ENV ASCP_LIMIT 40m | ||
ENV ASCP_RETRANSFER_FILE 0 | ||
ENV ASCP_PORT 33001 | ||
ENV ASCP_USER fasp-public | ||
ENV ASCP_SERVER fasp.ebi.ac.uk | ||
ADD ascp.sh /usr/local/bin/ascp.sh | ||
ENTRYPOINT ["/usr/local/bin/ascp.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,33 +4,11 @@ IDR Download | |
The https://hub.docker.com/r/imagedata/download image can be used to acquire | ||
the original files which were imported into IDR: | ||
|
||
docker run -ti --rm -v /tmp/data:/data imagedata/download idr0001 20151116-verified/JL_120731_S6A /data/JL_120731_S6A | ||
|
||
Some exemplary source directories are listed below: | ||
|
||
| study | source | plate | size | | ||
|---------|-------------------------------------------------------------------------------------------------------------|---------------------------------------------|--------| | ||
| idr0001 | 20151116-verified/JL_120731_S6A | JL_120731_S6A | 99G | | ||
| idr0002 | 20150401-original/chr_cond_screen/plate1_1_013/experiment_descriptor.xml | plate1_1_013 | 164G | | ||
| idr0003 | 201301120/Images/DTT/p1 | DTT p1 | 2.4G | | ||
| idr0005 | 20150520-original-jcb/v2/001/2011-04-19 | Primary_001 | 811M | | ||
| idr0005 | 20150520-original-jcb/v2/Secondary 001a/2011-08-29-plate-001.HTD | Secondary_001a | 811M | | ||
| idr0006 | 20150915-glencoe-jcb/11001-11089/plate 11001_Plate_136/TimePoint_1 | 11001 | 8.3G | | ||
| idr0007 | 20150522-original-jcb/wt/Plate1 | WT_plate1 | 1.5G | | ||
| idr0008 | original-actinome2/Plate10_Actinome2 | Plate10_Actinome2 | 2.7G | | ||
| idr0008 | original-actinome1/Plate10_Actinome1 | Plate10_Actinome1 | 2.4G | | ||
| idr0008 | original-drosophila/Drosophila screen//001B30_S2R | 001B30_S2R | 2.0G | | ||
| idr0009 | 20150507-VSVG/VSVG/0305-01--2007-04-03 | 0305-01--2007-04-03 | 3.0G | | ||
| idr0009 | 20150507-VSVG/VSVG/0001-03--2005-08-01 | 0001-03--2005-08-01 | 3.0G | | ||
| idr0017 | 20151124/14_X-Man_10x/source/2011-11-17_X-Man_LOPAC_X01_LP_S01_1 | AKT1-/-_&_AKT2-/-_LOPAC_Plate_1_Replicate_1 | 25G | | ||
| idr0019 | 20160414-original/22 Cell Lines Sero MSB 2015/Raw images - OME tif files by plate/22_lines_HC_EGF_200145913 | 22_lines_HC_EGF_200145913 | 3.8G | | ||
| idr0020 | 20160414-original/chTOG genetic interaction screen/chTOGsh MAP screen/Alexis 040413 hMAP screen[2056] | 200972429 TOG[2702] | 5.8G | | ||
| idr0028 | 20160818-original/Images/MDA-MB-231_GEFGAP_siGENOME/MDA-MB-231_GEFGAP_siGENOME_1A | MDA-MB-231_siGENOME_1A | 12G | | ||
| idr0028 | 20160818-original/Images/LM2_GEFGAP_ONTARGETPlus/LM2_GEFGAP_ONTARGETPlus_1A | LM2_ONTARGETPlus_1A | 12G | | ||
| idr0028 | 20160818-original/Images/LM2_GEFGAP_siGENOME /LM2_GEFGAP_siGENOME_1A | LM2_siGENOME_1A | 7.3G | | ||
| idr0028 | 20160818-original/Images/MDA-MB-231_GEFGAP_ONTARGETPlus/MDA-MB-231_GEFGAP_ONTARGETPlus_1A | MDA-MB-231_ONTARGETPlus_1A | 11G | | ||
| idr0030 | 20170110-original/200972726[5176]_kinome_YAP_TAZ/MeasurementIndex.ColumbusIDX.xml | 200972726[5176]_kinome_YAP_TAZ | 13G | | ||
| idr0034 | 20170421-original/Nathalie/HipSci Experiment 10 Plate 1__2014-08-21T17_57_35-Measurement1 | experiment_10 | 5.1G | | ||
docker run -ti --rm -v /tmp/data:/data imagedata/download SOURCE TARGET | ||
|
||
where SOURCE can be any subfolder under https://ftp.ebi.ac.uk/pub/databases/IDR/. For instance | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❤️ |
||
|
||
docker run -ti --rm -v /tmp/data:/data imagedata/download idr0001-graml-sysgro/20151116-verified/JL_120731_S6A /data/JL_120731_S6A | ||
|
||
## Docker environment variables | ||
|
||
|
@@ -40,7 +18,7 @@ Note that you can modify the environment variables in the dockerfile directly in | |
For example, to increase the download rate to `100 Mbps`, add an environment variable to the `docker run` command line: | ||
|
||
```bash | ||
docker run -ti --rm -v /tmp/data:/data -e ASCP_LIMIT=100m imagedata/download idr0001 20151116-verified/JL_120731_S6A /data/JL_120731_S6A | ||
docker run -ti --rm -v /tmp/data:/data -e ASCP_LIMIT=100m imagedata/download idr0001-graml-sysgro/20151116-verified/JL_120731_S6A /data/JL_120731_S6A | ||
``` | ||
|
||
You can modify additional variables as well | ||
|
@@ -51,6 +29,7 @@ You can modify additional variables as well | |
| ASCP_LIMIT | `-l` | 40m | max_rate | | ||
| ASCP_RETRANSFER_FILE | `-k` | 0 | Transfer file overwrite | | ||
| ASCP_PORT | `-P` | 33001 | ssh-port| | ||
| ASCP_USER | NA | fasp-public | user | | ||
| ASCP_SERVER | NA | fasp.ebi.ac.uk | host | | ||
|
||
For a more detailed description of these commands, see the [ascp documentation](https://www.ibm.com/docs/en/aci/3.9.2?topic=ascp-command-reference). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like I missed there was a breaking change and a
:
need to be appended as in ome/omero-server-docker@6f31737.Unfortunately, this has created quite a few unwanted images at https://hub.docker.com/u/imagedata. @jburel @joshmoore do you have the credentials to delete those? I can open a PR for a follow-up 0.4.1 release (unless you'd prefer me to delete the tag).