Skip to content
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

Configs #3

Merged
merged 6 commits into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

[![DOI](https://zenodo.org/badge/293755884.svg)](https://zenodo.org/badge/latestdoi/293755884)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/blue-moon22/palidis)](https://github.com/blue-moon22/palidis/releases)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/blue-moon22/palidis/test)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/blue-moon22/palidis)](https://github.com/blue-moon22/palidis4/releases)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/blue-moon22/palidis4/test)

<img src="img/logo.png" alt="logo" width="400"/>

Expand Down Expand Up @@ -42,11 +41,11 @@ For each sample, palidis produces two output files: **1. FASTA file of insertion
- Install [Docker](https://www.docker.com/) if using own machine or install [Singularity](https://sylabs.io/singularity/)/load a singularity module if using a shared HPC
- Clone this repo:
```bash
git clone --recursive -j8 https://github.com/blue-moon22/palidis.git
cd palidis
git clone --recursive -j8 git@github.com:blue-moon22/palidis4.git
cd palidis4
```
Note: You may be warned to first call `git config --global --add safe.directory`.
</br>If you have already cloned this repo with `git clone https://github.com/blue-moon22/palidis.git`, you also need to get the submodules `git submodule update --init --recursive`
</br>If you have already cloned this repo with `git clone https://github.com/blue-moon22/palidis4.git`, you also need to get the submodules `git submodule update --init --recursive`

<a name="usage"></a>
## Usage
Expand All @@ -55,6 +54,8 @@ Note: You may be warned to first call `git config --global --add safe.directory`
nextflow palidis.nf --manifest <manifest_file> --batch_name <batch_name> -c configs/conf/<name_of_config>.config
```

If you are using a cluster and it uses singularity instead of docker, please add `-profile standard,singularity`

### Mandatory arguments
#### `<batch_name>`

Expand Down
10 changes: 7 additions & 3 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ params {
profiles {

standard {
docker {
enabled = true
}
process {
container = 'bluemoon222/palidis_dependencies:0.0.22'
cpus = 1
Expand Down Expand Up @@ -145,4 +142,11 @@ profiles {
}
}
}
singularity {
singularity {
enabled = true
autoMounts = true
cacheDir = "$projectDir/singularity"
}
}
}