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.
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
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.