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

redundant skip logic removed #37

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
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
18 changes: 12 additions & 6 deletions README.txt → README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
QUICK START:
# GeneFusion: a nextflow-based application

1. Install Nextflow and Docker.

2. Test the pipeline:

nextflow run federicacitarrella/FusionFlow -profile [test_docker/test_local]

4. Run your own analysis:

nextflow run federicacitarrella/FusionFlow \
--rnareads “/path/to/rna/reads_{1,2}.*” \
--rnareads “/path/to/rna/reads_{1,2}.*” \
--dnareads_tumor “/path/to/dna/tumor/reads_{3,4}.*” \
--dnareads_normal “/path/to/dna/normal/reads_{5,6}.*” \
--arriba --ericscript --fusioncatcher --integrate --genefuse \
-profile <docker/local>

Before using the local profile you need to create conda virtual environments from the yml files and specify the environment path in the command line (the Arriba path does not need "/bin").



e.g. nextflow run federicacitarrella/FusionFlow \
--envPath_ericscript /path/to/miniconda3/envs/ericscript/bin \
--envPath_arriba /path/to/miniconda3/envs/arriba/ \
--envPath_fusioncatcher /path/to/miniconda3/envs/fusioncatcher/bin \
--envPath_integrate /path/to/miniconda3/envs/integrate/bin \
--envPath_genefuse /path/to/miniconda3/envs/genefuse/bin \
-profile test_local
-profile test_local


# Acknowledgments
36 changes: 22 additions & 14 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ manifest {
mainScript = 'pipeline.nf'
}

params {
params {
help = false
dnabam = false
single_end = false
Expand All @@ -29,40 +29,48 @@ params {
dnareads_tumor = ""
dnareads_normal = ""

envPath_ericscript = "/opt/conda/envs/ericscript/bin"
envPath_arriba = "/opt/conda/envs/arriba/"
envPath_fusioncatcher = "/opt/conda/envs/fusioncatcher/bin"
envPath_integrate = "/opt/conda/envs/integrate/bin"
envPath_genefuse = "/opt/conda/envs/genefuse/bin"
envPath_ericscript = "/homes/gbontempo/.conda/envs/ericscript/bin"
envPath_arriba = "/homes/gbontempo/.conda/envs/arriba/"
envPath_fusioncatcher = "/homes/gbontempo/.conda/envs/fusioncatcher/bin"
envPath_integrate = "/homes/gbontempo/.conda/envs/integrate/bin"
envPath_genefuse = "/homes/gbontempo/.conda/envs/genefuse/bin"

nthreads = 8
max_cpus = 16
}
max_cpus = 16
}

process {
executor = "slurm"
memory = '20GB'
queue= 'prod'
cpus= 3
container = 'federicacitarrella/pipeline:latest'
publishDir = [path: params.outdir, mode: 'copy', overwrite: 'true']
}
}

executor {
memory = '20GB'

}

profiles {
local {
params.feelnc_opts = "--monoex=1 --size=50 --minfrac_over=1.0 "
params.feelnc_opts = "--monoex=1 --size=50 --minfrac_over=1.0 "
}
docker {
params.feelnc_opts = "--monoex=1 --size=50 --minfrac_over=1.0 "
params.feelnc_opts = "--monoex=1 --size=50 --minfrac_over=1.0 "
docker.enabled = true
docker.fixOwnership = true
}
test_docker{
params.rnareads = "$baseDir/tutorial/reads_{1,2}.fq.gz"
params.dnareads_tumor = "$baseDir/tutorial/reads_{3,4}.fq.gz"
params.feelnc_opts = "--monoex=1 --size=50 --minfrac_over=1.0 "
params.feelnc_opts = "--monoex=1 --size=50 --minfrac_over=1.0 "
docker.enabled = true
docker.fixOwnership = true
}
test_local{
params.rnareads = "$baseDir/tutorial/reads_{1,2}.fq.gz"
params.dnareads_tumor = "$baseDir/tutorial/reads_{3,4}.fq.gz"
params.feelnc_opts = "--monoex=1 --size=50 --minfrac_over=1.0 "
params.feelnc_opts = "--monoex=1 --size=50 --minfrac_over=1.0 "
}
}
Loading