This repository was derived from a template repository located at https://github.com/cytomining/profiling-template. The purpose of the repository is to weld together a versioned data processing pipeline with versioned processed output data for a single image-based profiling experiment.
(Derived from this template)
DO THE FOLLOWING AFTER GENERATING A NEW REPO:
To correctly initialize the repository, we need to perform several manual steps.
By spinning up a new repo using this repo as a template, you will retain all code, configuration files, computational environments, and directory structure that a standard image-based profiling workflow expects and produces.
profiling-recipe
repoWe first want to fork the official profiling recipe located at https://github.com/cytomining/profiling-recipe.
Next, we will create a submodule in this repo.
# In your terminal, clone the repository you just created (THIS REPO)
USER="INSERT-USERNAME-HERE"
REPO="INSERT-NAME-HERE"
git clone git@github.com:$USER/$REPO.git
# Navigate to this directory
cd $REPO
# Add the recipe submodule
git submodule add https://github.com/$USER/profiling-recipe.git profiling-recipe
Refer to "Adding a submodule" for more details.
Lastly, we will commit the submodule to github.
# Add, commit, and push the submodule contents
git add profiling-recipe
git add .gitmodules
git commit -m 'finalizing the recipe weld'
git push
This step ensures that relevant experimental information is captured. We recommend all users, both internal and external, to diligently track project metadata. For those without a system, a template is provided below.
Fill out the whole template on the first batch; for subsequent batches only add what is different.
To download the data in this repo, first, clone this repo
git clone git@github.com:<org>/<repo>.git
then, download the profiles
cd <repo>
dvc pull
The DVC cache is typically stored in an AWS S3 bucket, so you will need run aws configure
before running dvc pull
.
If the DVC location is not publicly accessible, you will need AWS credentials to access it.
If the DVC location is not publicly accessible, to access the files stored via DVC, you will need to created a IAM user with the AmazonS3ReadOnlyAccess
policy attached:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:Get*",
"s3:List*",
"s3-object-lambda:Get*",
"s3-object-lambda:List*"
],
"Resource": "*"
}
]
}