This Nextflow workflow first-pass.nf
performs a high level quality check on tools. The workflow consists of the following processes:
-
CloneRepository: This process clones a Git repository from the provided URL into a temporary directory and then copies the repository to a designated location.
-
CheckReadme: This process checks the cloned repository for the presence of a README file. It looks for various common README file names and reports whether one was found.
-
CheckDependencies: This process scans the repository for dependency files associated with different programming languages. It reports the presence of files for Python, JavaScript/Node.js, Java, and R.
-
CheckTests: This process looks for test directories or files within the repository.
-
CheckAlmanack: This process implements the Software Gardening Almanack to gather various metrics about the repository.
Install Nextflow:
curl -s https://get.nextflow.io | bash
You can configure the workflow using nextflow.config
. Set your working dir here.
To run the workflow, you need to provide the URL of the Git repository you want to analyze as a parameter. Here's how you can execute the workflow:
nextflow run first-pass.nf --repo_url <repository-url>
Replace with the URL of the Git repository you wish to check.
nextflow run first-pass.nf --repo_url https://github.com/example/repo.git
You may also use Docker to run the CCKP Toolkit Workflow as an alternative to the above. First, install Docker on your system. Then, use the commands below as an example of how to run the workflow.
# build an image for cckp toolkit workflow
docker build -t cckp-toolkit-workflow .
# run the image for cckp toolkit workflow, passing in a git repo url
docker run cckp-toolkit-workflow https://github.com/mc2-center/cckp-toolkit-workflow
-
Python Optimal Transport Library
- Synapse: POT
- GitHub: PythonOT/POT
- Note: Should pass all tests
-
TARGet
- Synapse: TARGet
- GitHub: RabadanLab/TARGet
- Note: Fails CheckDependencies, CheckTests
-
memSeqASEanalysis
- Synapse: memSeqASEanalysis
- GitHub: arjunrajlaboratory/memSeqASEanalysis
- Note: Fails CheckDependencies, CheckTests
Subset of tools to test: Any from this list with a GitHub repository.
Ensure Git is installed on your system as the workflow uses git clone to clone the repository. The workflow assumes the repository is public or accessible with the provided URL.