Skip to content
Snippets Groups Projects
Commit 09582ce8 authored by Ruqian Lyu's avatar Ruqian Lyu
Browse files

Merge branch 'master' of gitlab.svi.edu.au:biocellgen-public/sscocaller

parents 911b86a9 073dba5f
No related branches found
No related tags found
No related merge requests found
## sscocaller: Calling crossovers from single-sperm DNA sequencing reads ## sscocaller: Calling crossovers from single-sperm DNA sequencing reads
It takes the large bam file which contains aligned DNA reads from a list of single sperm cells and summarizes allele It takes the large bam file which contains aligned DNA reads from a list of single sperm cells and summarizes allele
counts for informative SNP markers. A HMM model is applied for haplotypin each sperm and viterbi algorithm is run counts for informative SNP markers. A HMM model is applied for haplotyping each sperm and viterbi algorithm is run
for deriving the inferred haplotype sequence against the list of SNP markers. for deriving the inferred haplotype sequence against the list of SNP markers.
## Inputs ## Inputs
...@@ -39,3 +39,31 @@ Options: ...@@ -39,3 +39,31 @@ Options:
Examples Examples
./sscocaller --threads 10 AAAGTAGCACGTCTCT-1.raw.bam AAAGTAGCACGTCTCT-1.raw.bam.dp3.alt.vcf.gz barcodeFile.tsv ./percell/ccsnp- ./sscocaller --threads 10 AAAGTAGCACGTCTCT-1.raw.bam AAAGTAGCACGTCTCT-1.raw.bam.dp3.alt.vcf.gz barcodeFile.tsv ./percell/ccsnp-
``` ```
## Setup/installation
`sscocaller` uses `hts-nim`(https://github.com/brentp/hts-nim) that requires the `hts-lib` library. If you are building the `sscocaller` from
source, you would need to install `hts-lib`
```
git clone --recursive https://github.com/samtools/htslib.git
cd htslib && git checkout 1.10 && autoheader && autoconf && ./configure --enable-libcurl
cd ..
make -j 4 -C htslib
export LD_LIBRARY_PATH=$HOME/htslib
ls -lh $HOME/htslib/*.so
```
Then, `sscocaller` can be installed using `nimble`
### Install with nimble
`nimble install https://gitlab.svi.edu.au/biocellgen-public/sscocaller.git`
The built binary in $HOME/.nimble/bin/sscocaller
### Static builds
The static bianry can be simply downloaded which works for GNU/Linux type OS:
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment