Skip to content

Commit

Permalink
Merge pull request #4 from eipm/bio-354-skipping-alignment
Browse files Browse the repository at this point in the history
Bio 354 skipping alignment
  • Loading branch information
asboner authored Nov 21, 2020
2 parents d2aaf39 + fe00ab0 commit 7af491b
Show file tree
Hide file tree
Showing 7 changed files with 80,930 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN chmod ugo+wx /results /STAR_tmp
COPY ERVmapping.sh /scripts
COPY templates/ERValign.sh /scripts
COPY templates/ERVcount.sh /scripts
COPY ERVmap.bed /resources
COPY hg38cut_L1_ERV.sorted.bed /resources/ERVmap.bed

#Set Working Directory
WORKDIR /scripts
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ where `nextflow.config` include the minimum set of parameters to run ERVmap with
params {
genome='/path/to/genome' # external path to the indexed genome for the STAR aligner
inputDir='path/to/input/folder' # external path of the input data
inputPattern="*{1,2}.fastq.gz" # pattern to search for input FASTQ files
inputPattern="*{1,2}.fastq.gz" # pattern to search for input FASTQ files, or BAM files (*.{bam,bam.bai})
skipAlignment=false # if skipAlignment is true, the process ERValign is skipped, and the input dir and pattern should point to the BAM files
outputDir='/path/to/output/folder' # external path of the output results
starTmpDir='/path/to/STAR/temp/folder' # external path of the STAR aligner temporary folder. REQUIRED
localOutDir='.' # internal path of the results
Expand All @@ -103,7 +104,7 @@ params {
```
**NOTE:** Adjust the memory settings of the docker container if needed, but recall that STAR requires about 32G of RAM (see [Optional Parameters](#optparam)).

**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.
**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.

----

Expand Down
Loading

0 comments on commit 7af491b

Please sign in to comment.