-
Notifications
You must be signed in to change notification settings - Fork 8
5. Setup projects with RUMP using AWS EC2
Xinsong Du edited this page May 18, 2020
·
11 revisions
Create AWS account
Create IAM user
Create EC2 instance and connect to it
Please note that Following steps are designed for t2.2xlarge
instance with an additional volume /dev/xvdb/
. Make sure you add enough space to the volume in order to store RUMP, your own data, and all dependencies. Please also be aware that the use of EC2 will cost you money and you will be billed accordingly the type and the number of instances chosen, and on the storage space utilised. The following steps may cost you about $10.00
$ sudo su
- Open
visudo
$ visudo
- Find word
secure_path
, you can use/
command to do the search - Append
/usr/local/bin
tosecure_path
. The line will be like the following
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
- Type the following
$ reboot
- Reconnect to your EC2 instance with
ssh
- Change to root user
$ sudo su
- git
$ yum install git
$ ./configure --prefix=/usr/local
$ yum install libarchive-devel
$ VERSION=2.5.2
$ wget https://github.com/singularityware/singularity/releases/download/$VERSION/singularity-$VERSION.tar.gz
$ tar xvf singularity-$VERSION.tar.gz
$ cd singularity-$VERSION
$ ./configure --prefix=/usr/local
$ make
$ sudo make install
- squashfh-tools
$ yum install squashfs-tools
- Java 8 or later
$ yum install java-1.8.0-openjdk
# switch to Java 8
$ alternatives --config java
$ wget -qO- https://get.nextflow.io | bash
- move nextflow to $PATH
$ mv nextflow /usr/local/bin/
$ mount /dev/xvdb /mnt
- Recommend to install under
/mnt/apps/
directory, if not exist, run the following command line
$ mkdir -p /mnt/apps/
- Following steps are designed for RUMP installed under
/mnt/apps/
, please move to RUMP repository
cd /mnt/apps/RUMP
$ mkdir -p work/singularity && chmod 777 work/singularity
$ cd work/singularity/ && singularity pull --name xinsongdu-lemaslab_rump-v1.0.0.img docker://xinsongdu/lemaslab_rump:v1.0.0
$ chmod 777 data
Add singularity.autoMounts = true
to nextflow.config
- Following tools can be used:
- Store your positive/negative data and positive/negative design files to
/mnt/apps/RUMP/data/
Following steps are the same as executing Nextflow on local machine
- Tmux can be used to run RUMP on the background (i.e., program will not end automatically after you close command-line terminal)
Usage
- Setup your computer
- Installing
- Setup your projects with RUMP using local machine
- Setup your projects with RUMP using HiPerGator
- Setup your projects with RUMP using Amazon Web Service
- Executing time estimation
- Data processing parameters modification
Components
- Data collection/generation
- MODIS data quality control
- Data format conversion
- Data processing
- File format transformation
- Statistical analysis
- Unidentified metabolites search
- Pathway analysis
- Report generation
Developers