Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ChIPster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xavier Grand
ChIPster
Commits
803af8b7
Verified
Commit
803af8b7
authored
5 years ago
by
Laurent Modolo
Browse files
Options
Downloads
Patches
Plain Diff
singularity test at in2p3
parent
21a8f8b8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/kallisto_index.pbs
+29
-0
29 additions, 0 deletions
src/kallisto_index.pbs
src/nf_modules/kallisto/indexing.config
+16
-0
16 additions, 0 deletions
src/nf_modules/kallisto/indexing.config
src/nf_modules/kallisto/indexing.nf
+3
-0
3 additions, 0 deletions
src/nf_modules/kallisto/indexing.nf
with
48 additions
and
0 deletions
src/kallisto_index.pbs
0 → 100644
+
29
−
0
View file @
803af8b7
#! /usr/local/bin/bash -l
#####################################
# job script example with GE options
#####################################
#$ -q demon
#$ -l demon=1
#$ -P P_lbmc
#$ -N nf_pipe
#$ -o /sps/lbmc/<user>/logs/ # change to your username !
#$ -e /sps/lbmc/<user>/logs/ # change to your username !
#$ -r n # relaunch y/n
#$ -M <email>@ens-lyon.fr # change to your mail !
#$ -m be ## send an email when the job starts and ends
#$ -l os=cl7 ## choose OS
#$ -l sps=1 ## acces /sps directory
#####################################
NF_VERSION
=
19.04
NF
=
/pbs/throng/lbmc/cl7/nextflow/
${
NF_VERSION
}
/nextflow
# change to your username
SCRATCH
=
/sps/lbmc/lmodolo/
# change to your project / pipeline !
PIPELINE
=
${
SCRATCH
}
/nextflow/src/nf_modules/kallisto/indexing.nf
# change to your project / pipeline !
CONFIG
=
${
SCRATCH
}
/nextflow/src/nf_modules/kallisto/indexing.config
${
NF
}
${
PIPELINE
}
-c
${
CONFIG
}
-profile
ccin2p3
\
--fasta
"
${
SCRATCH
}
/<project>/data/fasta"
\
-w
"
${
SCRATCH
}
"
This diff is collapsed.
Click to expand it.
src/nf_modules/kallisto/indexing.config
+
16
−
0
View file @
803af8b7
...
...
@@ -49,4 +49,20 @@ profiles {
}
}
}
ccin2p3_singularity
{
singularity
.
enabled
=
true
process
{
withName
:
index_fasta
{
container
=
"/sps/lbmc/common/singularity/kallisto:0.44.0.img"
scratch
=
true
stageInMode
=
"copy"
stageOutMode
=
"rsync"
executor
=
"sge"
clusterOptions
=
"
-
P
P_lbmc
-
l
os
=
cl7
-
l
sps
=
1
-
r
n
\
-
o
~/
logs
/ -
e
~/
logs
/
"
cpus
=
1
queue
=
'huge'
}
}
}
}
This diff is collapsed.
Click to expand it.
src/nf_modules/kallisto/indexing.nf
+
3
−
0
View file @
803af8b7
...
...
@@ -10,6 +10,7 @@ Channel
process index_fasta {
tag "$fasta.baseName"
publishDir "results/mapping/index/", mode: 'copy'
echo true
input:
file fasta from fasta_file
...
...
@@ -20,8 +21,10 @@ process index_fasta {
script:
"""
pwd
kallisto index -k 31 --make-unique -i ${fasta.baseName}.index ${fasta} \
2> ${fasta.baseName}_kallisto_report.txt
pwd
"""
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment