Skip to content

Commit 7af491b

Browse files
authored
Merge pull request #4 from eipm/bio-354-skipping-alignment
Bio 354 skipping alignment
2 parents d2aaf39 + fe00ab0 commit 7af491b

File tree

7 files changed

+80930
-15
lines changed

7 files changed

+80930
-15
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN chmod ugo+wx /results /STAR_tmp
7575
COPY ERVmapping.sh /scripts
7676
COPY templates/ERValign.sh /scripts
7777
COPY templates/ERVcount.sh /scripts
78-
COPY ERVmap.bed /resources
78+
COPY hg38cut_L1_ERV.sorted.bed /resources/ERVmap.bed
7979

8080
#Set Working Directory
8181
WORKDIR /scripts

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ where `nextflow.config` include the minimum set of parameters to run ERVmap with
9292
params {
9393
genome='/path/to/genome' # external path to the indexed genome for the STAR aligner
9494
inputDir='path/to/input/folder' # external path of the input data
95-
inputPattern="*{1,2}.fastq.gz" # pattern to search for input FASTQ files
95+
inputPattern="*{1,2}.fastq.gz" # pattern to search for input FASTQ files, or BAM files (*.{bam,bam.bai})
96+
skipAlignment=false # if skipAlignment is true, the process ERValign is skipped, and the input dir and pattern should point to the BAM files
9697
outputDir='/path/to/output/folder' # external path of the output results
9798
starTmpDir='/path/to/STAR/temp/folder' # external path of the STAR aligner temporary folder. REQUIRED
9899
localOutDir='.' # internal path of the results
@@ -103,7 +104,7 @@ params {
103104
```
104105
**NOTE:** Adjust the memory settings of the docker container if needed, but recall that STAR requires about 32G of RAM (see [Optional Parameters](#optparam)).
105106

106-
**NOTE:** If you need to keep the BAM files generated, please make sure to make a copy. By default, the BAMs remains in the nextflow `work` folder and only symbolic links are available in `outputDir`. By cleaning up the `work` folder, e.g. by running `nextflow clean`, the bam files will be removed. The ERVmap results are copied into `outputDir` and thus are permanent.
107+
**NOTE:** The BAM files are rsync'ed into the `outputDir` folder. Make sure to have sufficient disk space. By cleaning up the `work` folder, e.g. by running `nextflow clean`, the bam files will be removed. The ERVmap results are copied into `outputDir` and thus are permanent.
107108

108109
----
109110

0 commit comments

Comments
 (0)