-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from TRON-Bioinformatics/release_1.3.6
Release 1.3.6
- Loading branch information
Showing
17 changed files
with
1,145 additions
and
405 deletions.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
# Specify image tag, e.g. `docker.io/tronbioinformatics/easyfuse:latest` | ||
IMAGE_TAG=$1 | ||
|
||
# Specify path containing Dockerfile and context | ||
PATH=$2 | ||
|
||
docker build \ | ||
--rm \ | ||
-t ${IMAGE_TAG} \ | ||
${PATH} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
# Specify image ID from `docker images` | ||
IMAGE_ID=$1 | ||
|
||
# Specify output folder to store files | ||
OUTPUT_DIR=$2 | ||
|
||
# Save Docker image to .tar archive | ||
docker save <image_id> -o ${OUTPUT_DIR}/easyfuse_latest.tar | ||
|
||
# Build Singularity image from .tar archive and save it to .sif file | ||
singularity build ${OUTPUT_DIR}/easyfuse_latest.sif docker-archive://${OUTPUT_DIR}/easyfuse_latest.tar |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
|
||
# Specify path to reference folder, | ||
REFERENCE_FOLDER=$1 | ||
|
||
# Specify path to data folder, | ||
DATA_FOLDER=$2 | ||
|
||
# Specify image tag, e.g. `docker.io/tronbioinformatics/easyfuse:latest` | ||
IMAGE_TAG=$3 | ||
|
||
# Specify output folder name, e.g. `results` | ||
OUTPUT_FOLDER_NAME=$4 | ||
|
||
docker run \ | ||
--name easyfuse_container \ | ||
-v ${REFERENCE_FOLDER}:/ref \ | ||
-v ${DATA_FOLDER}:/data \ | ||
--rm \ | ||
-it ${IMAGE_TAG} \ | ||
python /code/easyfuse/processing.py -i /data/input_fastqs -o /data/${OUTPUT_FOLDER}/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
# Specify path to reference folder, | ||
REFERENCE_FOLDER=$1 | ||
|
||
# Specify image tag, e.g. `docker.io/tronbioinformatics/easyfuse:latest` | ||
IMAGE_TAG=$2 | ||
|
||
|
||
docker run \ | ||
--name easyfuse_container \ | ||
-v ${REFERENCE_FOLDER}:/ref \ | ||
-it ${IMAGE_TAG} \ | ||
/bin/bash |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
|
||
# Specify path to reference folder, | ||
REFERENCE_FOLDER=$1 | ||
|
||
# Specify path to data folder, | ||
DATA_FOLDER=$2 | ||
|
||
# Specify image tag or SIF, e.g. `docker://docker.io/tronbioinformatics/easyfuse:latest` | ||
DOCKERHUB_OR_SIF=$3 | ||
|
||
# Specify output folder name, e.g. `results` | ||
OUTPUT_FOLDER_NAME=$4 | ||
|
||
|
||
singularity exec \ | ||
--containall \ | ||
--bind ${REFERENCE_FOLDER}:/ref \ | ||
--bind ${DATA_FOLDER}:/data \ | ||
${DOCKERHUB_OR_SIF} \ | ||
python /code/easyfuse/processing.py -i /data/input_fastqs -o /data/${OUTPUT_FOLDER_NAME}/ |
This file was deleted.
Oops, something went wrong.
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
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.