Skip to content
Snippets Groups Projects
Commit 37d5d6ce authored by Gervaise Henry's avatar Gervaise Henry 🤠
Browse files

Reconfigure for Astrocyte

parent 4c835bbb
1 merge request!2Astrocyte
Pipeline #3291 failed with stage
before_script:
- module load python/3.6.1-2-anaconda
- module load nextflow/0.27.6
- ln -s /project/shared/bicf_workflow_ref/workflow_testdata/cellranger_count/*fastq.gz test_data/
stages:
- integration
simple_test:
stage: integration
script:
- nextflow run workflow/main.nf
#
# metadata for the Astrocyte CellRanger mkfastq workflow package
#
# -----------------------------------------------------------------------------
# BASIC INFORMATION
# -----------------------------------------------------------------------------
# A unique identifier for the workflow package, text/underscores only
name: 'tcga_shiny'
# Who wrote this?
author: 'Spencer Barnes, Gervaise Henry and Venkat Malladi'
# A contact email address for questions
email: 'bicf@utsouthwestern.edu'
# A more informative title for the workflow package
title: 'BICF TCGA Shiny Workflow'
# A summary of the workflow package in plain text
description: |
This is a workflow package for the exploration of TCGA data.
# -----------------------------------------------------------------------------
# DOCUMENTATION
# -----------------------------------------------------------------------------
# A list of documentation file in .md format that should be viewable from the
# web interface. These files are in the 'docs' subdirectory. The first file
# listed will be used as a documentation index and is index.md by convention
documentation_files:
- 'index.md'
# -----------------------------------------------------------------------------
# NEXTFLOW WORKFLOW CONFIGURATION
# -----------------------------------------------------------------------------
# Remember - The workflow file is always named 'workflow/main.nf'
# The workflow must publish all final output into $baseDir
# A list of cluster environment modules that this workflow requires to run.
# Specify versioned module names to ensure reproducability.
workflow_modules:
- 'R'
# A list of parameters used by the workflow, defining how to present them,
# options etc in the web interface. For each parameter:
#
# REQUIRED INFORMATION
# id: The name of the parameter in the NEXTFLOW workflow
# type: The type of the parameter, one of:
# string - A free-format string
# integer - An integer
# real - A real number
# file - A single file from user data
# files - One or more files from user data
# select - A selection from a list of values
# required: true/false, must the parameter be entered/chosen?
# description: A user friendly description of the meaning of the parameter
#
# OPTIONAL INFORMATION
# default: A default value for the parameter (optional)
# min: Minium value/characters/files for number/string/files types
# max: Maxumum value/characters/files for number/string/files types
# regex: A regular expression that describes valid entries / filenames
#
# SELECT TYPE
# choices: A set of choices presented to the user for the parameter.
# Each choice is a pair of value and description, e.g.
#
# choices:
# - [ 'myval', 'The first option']
# - [ 'myval', 'The second option']
#
# NOTE - All parameters are passed to NEXTFLOW as strings... but they
# are validated by astrocyte using the information provided above
workflow_parameters: []
# -----------------------------------------------------------------------------
# SHINY APP CONFIGURATION
# -----------------------------------------------------------------------------
# Remember - The vizapp is always 'vizapp/server.R' 'vizapp/ui.R'
# The workflow must publish all final output into $baseDir
# Name of the R module that the vizapp will run against
vizapp_r_module: 'R/3.2.1-intel'
# List of any CRAN packages, not provided by the modules, that must be made
# available to the vizapp
vizapp_cran_packages:
- shiny
- ggplot2
- shinyjs
- survival
- survminer
# Astrocyte TCGA Shiny Workflow Package
## Workflow SOP
This diff is collapsed.
This diff is collapsed.
shinyUI(
fluidPage(
headerPanel("TCGA Analysis"),
sidebarLayout(
sidebarPanel(
selectInput("operation","Select Plot Type",choices = c("Boxplot","Survival")),
conditionalPanel(condition = "input.operation=='Boxplot'",
selectInput("cancerType","Select one or more cancer types",
choices = substr(list.files("../Expression/",pattern=".txt"),1,
nchar(list.files("../Expression/",pattern=".txt"))-4),
multiple = TRUE),
textInput("gene","Please input one gene of interest",placeholder = "Gene name ie TRIM21")
),
conditionalPanel(condition="input.operation=='Survival'",
selectInput("cancerType2","Select a cancer type",
choices = substr(list.files("../Expression/",pattern=".txt"),1,
nchar(list.files("../Expression/",pattern=".txt"))-4)),
textInput("gene2","Please input one gene of interest",placeholder = "Gene name ie BRCA1"),
selectInput("operation2","Select automatic or manual cutoff", choices = c("Automatic", "Manual"))
),
conditionalPanel(condition="input.operation2=='Manual' & input.operation=='Survival'",
sliderInput("cut.off","Select a cutoff value",min = .10,max=.50,step = .05,value = .25)
),
actionButton("go","GO")
),
mainPanel(
plotOutput("myPlot"),
downloadButton('downloadplot',"Download Figure")
)
)
)
)
process {
executor = 'slurm'
queue='super'
// Process specific configuration
$checkDesignFile {
module = ['python/3.6.1-2-anaconda']
executor = 'local'
}
$count2 {
module = ['cellranger/2.1.1']
}
$count3 {
module = ['cellranger/3.0.1']
}
}
trace {
enabled = true
file = 'pipeline_trace.txt'
fields = 'task_id,native_id,process,name,status,exit,submit,start,complete,duration,realtime,%cpu,%mem,rss'
}
timeline {
enabled = true
file = 'timeline.html'
}
report {
enabled = true
file = 'report.html'
}
#!/usr/bin/env nextflow
// Path to an input file, or a pattern for multiple inputs
// Note - $baseDir is the location of this workflow file main.nf
// Define Input variables
params.run = "TRUE"
process copy {
publishDir "$baseDir/output", mode: 'copy'
input:
params.run
output:
file("**/Clinical/**") into outPathClinical
file("**/Expression/**") into outPathExpression
script:
"""
cp -r /project/shared/bicf_workflow_ref/tcga_shiny_app_data/* .
"""
}
profiles {
standard {
includeConfig 'conf/biohpc.config'
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment