Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
BDS
GeneDER
GeneDER_core
Commits
58c4002c
Commit
58c4002c
authored
Oct 28, 2020
by
Leon-Charles Tranchevent
Browse files
Refactoring steps 01 and 02 to process all datasets at once (microarray and RNA-seq).
parent
8b38640b
Changes
8
Hide whitespace changes
Inline
Side-by-side
01-Quality_control/quality_control.R
View file @
58c4002c
...
...
@@ -37,12 +37,6 @@ for (i in seq_len(length(config$datasets))) {
dataset
<-
config
$
datasets
[[
i
]]
dataset_name
<-
dataset
$
dataset_name
# We only do the QC when it is necessary.
if
(
dataset
$
first_qc
!=
'TRUE'
)
{
message
(
paste0
(
"["
,
Sys.time
(),
"] ["
,
dataset_name
,
"] QC not necessary."
))
next
}
# Clinical data can be used to identify bias in the experiments.
# By default, we have the disease status, but we can also have the gender.
dataset_groups
<-
c
(
"Disease.status"
)
...
...
@@ -55,6 +49,12 @@ for (i in seq_len(length(config$datasets))) {
# We run the quality control of the current dataset (if necessary).
if
(
selected_dataset_name
==
""
||
selected_dataset_name
==
dataset_name
)
{
# We only do the QC when it is necessary.
if
(
dataset
$
first_qc
!=
'TRUE'
)
{
message
(
paste0
(
"["
,
Sys.time
(),
"] ["
,
dataset_name
,
"] QC not necessary."
))
next
}
# We define the I/Os
raw_data_subdir
<-
paste0
(
raw_data_dir
,
dataset_name
,
"/"
)
output_data_subdir
<-
paste0
(
output_data_dir
,
dataset_name
,
"/"
)
...
...
01-Quality_control/run_qc.sh
View file @
58c4002c
...
...
@@ -5,9 +5,9 @@
#SBATCH -N 1
#SBATCH -n 1
#SBATCH --mem=12GB
#SBATCH --time=0-00:5
0
:00
#SBATCH --time=0-00:5
5
:00
#SBATCH -p batch
#SBATCH --qos=
qos-batch
#SBATCH --qos=
normal
echo
"== Starting run at
$(
date
)
"
echo
"== Job ID:
${
SLURM_JOBID
}
"
...
...
02-Preprocessing/doc.sh
View file @
58c4002c
...
...
@@ -6,7 +6,7 @@
#SBATCH -n 1
#SBATCH --time=0-00:01:00
#SBATCH -p batch
#SBATCH --qos=
qos-batch
#SBATCH --qos=
normal
echo
"== Starting run at
$(
date
)
"
echo
"== Job ID:
${
SLURM_JOBID
}
"
...
...
02-Preprocessing/get_log.sh
View file @
58c4002c
...
...
@@ -6,7 +6,7 @@
#SBATCH -n 1
#SBATCH --time=0-00:02:00
#SBATCH -p batch
#SBATCH --qos=
qos-batch
#SBATCH --qos=
normal
echo
"== Starting run at
$(
date
)
"
echo
"== Job ID:
${
SLURM_JOBID
}
"
...
...
02-Preprocessing/preprocess.sh
View file @
58c4002c
...
...
@@ -4,9 +4,9 @@
#SBATCH --mail-user=leon-charles.tranchevent@uni.lu
#SBATCH -N 1
#SBATCH -n 20
#SBATCH --time=0-0
6:3
0:00
#SBATCH --time=0-0
7:0
0:00
#SBATCH -p batch
#SBATCH --qos=
qos-batch
#SBATCH --qos=
normal
echo
"== Starting run at
$(
date
)
"
echo
"== Job ID:
${
SLURM_JOBID
}
"
...
...
02-Preprocessing/stabilize_variance.sh
View file @
58c4002c
...
...
@@ -4,9 +4,9 @@
#SBATCH --mail-user=leon-charles.tranchevent@uni.lu
#SBATCH -N 1
#SBATCH -n 20
#SBATCH --time=0-01:
0
0:00
#SBATCH --time=0-01:
1
0:00
#SBATCH -p batch
#SBATCH --qos=
qos-batch
#SBATCH --qos=
normal
echo
"== Starting run at
$(
date
)
"
echo
"== Job ID:
${
SLURM_JOBID
}
"
...
...
Confs/datasets_config.yml
View file @
58c4002c
...
...
@@ -223,7 +223,7 @@ datasets:
-
dataset_name
:
NBB
platform
:
RNAseq
array_type
:
RNAseq
_
EG
array_type
:
RNAseq
-
EG
clinical_descriptors
:
DG
first_qc
:
'
FALSE'
use_oligo
:
'
FALSE'
...
...
Confs/platforms_config.yml
View file @
58c4002c
...
...
@@ -71,3 +71,19 @@ platforms:
library_name
:
hugene10sttranscriptcluster.db
cdf_name
:
HuGene-1_0-st-v1.r3.cdf
mps_name
:
NA
-
vendor
:
RNAseq
platform_name
:
RNAseq-EG
biomart_name
:
ensembl_transcript_id
geo_name
:
NA
library_name
:
NA
cdf_name
:
NA
mps_name
:
NA
-
vendor
:
RNAseq
platform_name
:
HiSeq1000
biomart_name
:
NA
geo_name
:
NA
library_name
:
NA
cdf_name
:
NA
mps_name
:
NA
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment