ContextMap 2.0


Make sure to put the file jre-8u241-linux-i586.tar.gz in the same folder as the ContextMap Dockerfile (src/contextmap2/).nYou can get the file here:



Indexing might take some time but only has to be run once per fasta file. Make sure to reuse already computed indices if possible.

DICAST will check if $indexdir/$indexname exists. If there is no index it will be automatically built. If you want to rebuild the index anyway set $recompute_index=true in scripts/ If you want to use your own precomputed index file copy it to index/contextmap-index/ and make sure the index is complete and named appropriately and according to the parameters set in the config files. We recommend including the name of the fasta file in the index name to avoid overwriting. Per default this is already the case and no parameter changes are needed.


These are the default parameters set in the src/contextmap/ script. If you want to change it you can do this in the ENTRYPOINT script directly. Please refer to the ContextMap 2.0 manual.


Comma separated list of file paths to reads in fastq format. One pair of fastq files for paired-end mapping

-reads *yourFastqFile1_*1.fastq,*yourFastqFile1_*2.fastq

Used aligner (index tool). We use bowtie2.

-aligner_name bowtie2

Path to the used aligner. If you use our docker you will not have to wolly about it.

-aligner_bin /home/biodocker/bin/bowtie2

Path to the indexing tool of the aligner.

-indexer_bin /home/biodocker/bin/bowtie2-build

Comma separated list to your index files base names.

-indices *IndexChromosome1*,*IndexChromosomes2*,*IndexChromosome3*, . . .

Directory path with chromosome-wise fasta files.

-genome $bowtie_fastadir