Skip to content
This repository was archived by the owner on Oct 2, 2020. It is now read-only.

[WIP] superenhancer-final #85

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
49 changes: 22 additions & 27 deletions tools/superenhancer-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,44 +23,39 @@ dockerFile: |
#change the nameserver in resolv.conf to current DNS server
#
RUN apt-get clean all && \
apt-get update && \
apt-get install -y \
libncurses5-dev \
ed \
less \
locales \
wget \
ca-certificates &&\
apt-get clean && \
apt-get purge
apt-get update && \
apt-get install -y \
libncurses5-dev \
ed \
less \
locales \
wget \
ca-certificates &&\
apt-get clean && \
apt-get purge
### Install the Super Enhancer Script
RUN wget -q -O edited-Super-Enhancer-master.zip https://github.com/bharath-cchmc/edited-Super-Enhancer/archive/master.zip && \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change repository, has to be original one.

unzip edited-Super-Enhancer-master.zip && \
cp -r edited-Super-Enhancer-master /usr/local && \
rm -rf edited-Super-Enhancer-master && \
rm -f edited-Super-Enhancer-master.zip
unzip edited-Super-Enhancer-master.zip && \
cp -r edited-Super-Enhancer-master /usr/local && \
rm -rf edited-Super-Enhancer-master && \
rm -f edited-Super-Enhancer-master.zip
### patching the difference in script
RUN wget -q -O young_computation.zip https://bitbucket.org/young_computation/rose/get/1a9bb86b5464.zip && \
unzip young_computation.zip && \
#cp -r young_computation-rose-1a9bb86b5464 /usr/local/bin && \
ls &&\
rm -f young_computation.zip && \
rm -rf /usr/local/bin/young_computation-rose-1a9bb86b5464/annotation && \
rm /usr/local/bin/young_computation-rose-1a9bb86b5464/README.txt

unzip young_computation.zip && \
#cp -r young_computation-rose-1a9bb86b5464 /usr/local/bin && \
ls &&\
rm -f young_computation.zip && \
rm -rf /usr/local/bin/young_computation-rose-1a9bb86b5464/annotation && \
rm /usr/local/bin/young_computation-rose-1a9bb86b5464/README.txt
RUN diff /usr/local/bin/young_computation-rose-1a9bb86b5464 /usr/local/edited-Super-Enhancer-master | > wow.patch

RUN patch < wow.patch && \
rm wow.patch && \
cp -r young_computation-rose-1a9bb86b5464/* /usr/local/bin

rm wow.patch && \
cp -r young_computation-rose-1a9bb86b5464/* /usr/local/bin
RUN rm -rf young_computation-rose-1a9bb86b5464
RUN rm -f /usr/local/edited-Super-Enhancer-master.zip
RUN chmod -R +x /usr/local/bin

### Install R
RUN apt-get update
RUN apt-get -y install r-base
### Cleanup

RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* /var/lib/apt/lists/*
8 changes: 5 additions & 3 deletions tools/superenhancer.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@
cwlVersion: "cwl:draft-3"

class: CommandLineTool

hints:
- class: DockerRequirement
dockerPull: bharath90/superenhancer
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scidap/ ?


requirements:
- class: InlineJavascriptRequirement
- $import: envvar-global.yml

description: |
Super Enhancer Workflow
Usage: python ROSE_main.py [options...] [in.bam]
Expand All @@ -19,9 +24,6 @@ description: |
-t INT TSS EXCLUSION ZONE: excludes regios contained within +/- this distance from TSS in order to account for promoter bias (Default: 0, recommended: 2500)
-c FILE CONTROL_BAM: .bam file used as control. Subtracted from the density of the ranking_Bam

requirements:
- $import: envvar-global.yml

inputs:
- id: "genome"
type: File
Expand Down