Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1020 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 1020 Bytes

HilMa

Hilbert Mapper is a C++ implementation of Hilbert's space filling curve to represent read coverage on genomic sequences. Although it can be used to represent any unidimensional vector of positive numerical data.

Installation

git clone https://github.com/AntoineHo/HilMa.git
cd HilMa
chmod +x install.sh
./install.sh

Usages

reading a samtools depth output file:

python hilma.py sam [coverage file from samtools depth] [contig ID]

awk, grep, custom script, ... outputting integer unidimensional data to stdout:

[stdin] | python hilma.py vector - [output prefix]

reading a custom coverage file:

python hilma.py custom [column of IDs] [column of values] [coverage file] [ID of sequence to plot]

This usage may change in future commits!

Exemples

samtools depth mybam.bam > mybam.cov
python hilma.py mybam.cov contig3
grep contig3 mybam.cov | awk '{print $3}' | python hilma.py vector - custom_prefix
python hilma.py custom custom.cov 0 3 contig_002