forked from emmesgit/RSEQREP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·50 lines (46 loc) · 2.1 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/bash
#############################################################################################################
# RSEQREP: RNA-Seq Reports, an open-source cloud-enabled framework for reproducible
# RNA-Seq data processing, analysis, and result reporting
#
# https://github.com/emmesgit/RSEQREP
#
# Copyright (C) 2017 The Emmes Corporation
#
# This program is free software that contains third party software subject to various licenses,
# namely, the GNU General Public License version 3 (or later), the GNU Affero General Public License
# version 3 (or later), and the LaTeX Project Public License v.1.3(c). A list of the software contained
# in this program, including the applicable licenses, can be accessed here:
#
# https://github.com/emmesgit/RSEQREP/blob/master/SOFTWARE.xlsx
#
# You can redistribute and/or modify this program, including its components, only under the terms of
# the applicable license(s).
#
# This program is distributed in the hope that it will be useful, but "as is," WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# To cite this software, please reference doi:10.12688/f1000research.13049.1
#
# Program: setup.sh
# Version: RSEQREP 1.1.3
# Author: Travis L. Jensen and Johannes B. Goll
# Purpose: script to run setup only steps (R script to run sanity checks on configuration,
# download genome/transcriptome, format GMT files, and parse configuration)
# Input: N/A
# Output: N/A
#############################################################################################################
## Point to config file
CONFIG="$(cd `dirname $0` && pwd)/config/config.xlsx"
## Locate Source Directory from root
SRCDIR="$(cd `dirname $0` && pwd)/source";
#################
##
## Parse configuration file
##
#################
## Create CSV files for pre-processing, sample metadata, and report
## configuration based on user input in rnaseq-configuration-template.xlsx
## convert GTF to bed -- Unless already done
## Index genome -- Unless already done
Rscript $SRCDIR/r/parse-rnaseq-configuration.r $CONFIG $SRCDIR;