Skip to content

Commit f09ba2e

Browse files
committed
polish
1 parent f0ae525 commit f09ba2e

4 files changed

Lines changed: 19 additions & 73 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# log file
22
*.log
3+
TODO.md
34
# Prerequisites
45
*.d
56

README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,42 @@
11
<!-- # LongcallD: local-haplotagging-based small and structural variant calling -->
22

3-
[![Latest Release](https://img.shields.io/github/release/yangao07/longcallD.svg?label=Release)](https://github.com/yangao07/longcallD/releases/latest)
3+
<!-- [![Latest Release](https://img.shields.io/github/release/yangao07/longcallD.svg?label=Release)](https://github.com/yangao07/longcallD/releases/latest) -->
44
[![C/C++ CI](https://github.com/yangao07/longcallD/actions/workflows/linux-CI.yml/badge.svg)](https://github.com/yangao07/longcallD/actions/workflows/linux-CI.yml)
55
[![C/C++ CI](https://github.com/yangao07/longcallD/actions/workflows/macos-CI.yml/badge.svg)](https://github.com/yangao07/longcallD/actions/workflows/macos-CI.yml)
66
[![License](https://img.shields.io/badge/License-MIT-black.svg)](https://github.com/yangao07/longcallD/blob/main/LICENSE)
77
<!-- [![Github All Releases](https://img.shields.io/github/downloads/yangao07/longcallD/total.svg?label=Download)](https://github.com/yangao07/longcallD/releases) -->
88
<!-- [![BioConda Install](https://img.shields.io/conda/dn/bioconda/longcallD.svg?style=flag&label=BioConda%20install)](https://anaconda.org/bioconda/longcallD) -->
99
<!-- [![Published in Bioinformatics](https://img.shields.io/badge/Published%20in-Bioinformatics-blue.svg)](https://dx.doi.org/10.1093/bioinformatics/btaa963) -->
1010
<!-- [![GitHub Issues](https://img.shields.io/github/issues/yangao07/longcallD.svg?label=Issues)](https://github.com/yangao07/longcallD/issues) -->
11-
## Updates (v0.0.2)
11+
## Updates (pre-release v0.0.2)
1212

13-
* Pre-release
1413
* Add -M/--min-mapq
1514
* Fix check_eqx_cigar
1615

1716
## Getting Started
1817
```sh
19-
git clone --recursive https://github.com/yangao07/longcallD
20-
cd longcallD && make
18+
# git clone --recursive https://github.com/yangao07/longcallD
19+
# cd longcallD && make
20+
21+
# Download pre-built executables and test data (recommended)
22+
# Linux
23+
wget https://github.com/yangao07/longcallD/releases/download/v0.0.2/longcallD-v0.0.2_x64-linux.tar.gz
24+
tar -zxvf longcallD-v0.0.2_x64-linux.tar.gz && cd longcallD-v0.0.2_x64-linux
25+
# MacOS
26+
wget https://github.com/yangao07/longcallD/releases/download/v0.0.2/longcallD-v0.0.2_arm64-macos.tar.gz
27+
tar -zxvf longcallD-v0.0.2_arm64-macos.tar.gz && cd longcallD-v0.0.2_arm64-macos
28+
2129
# PacBio HiFi reads
22-
./bin/longcallD call ./test_data/chr11_2M.fa ./test_data/HG002_chr11_hifi_test.bam --hifi > HG002_hifi_test.vcf
30+
./longcallD call ./test_data/chr11_2M.fa ./test_data/HG002_chr11_hifi_test.bam --hifi > HG002_hifi_test.vcf
2331
# Oxford Nanopore reads
24-
./bin/longcallD call ./test_data/chr11_2M.fa ./test_data/HG002_chr11_ont_test.bam --ont > HG002_ont_test.vcf
32+
./longcallD call ./test_data/chr11_2M.fa ./test_data/HG002_chr11_ont_test.bam --ont > HG002_ont_test.vcf
2533
```
2634
<!-- # man page for detailed command line options
2735
man ./longcallD.1
2836
``` -->
2937

3038
## Table of Contents
31-
- [Updates (v0.0.2)](#updates-v002)
39+
- [Updates (pre-release v0.0.2)](#updates-pre-release-v002)
3240
- [Getting Started](#getting-started)
3341
- [Table of Contents](#table-of-contents)
3442
- [Introduction](#introduction)

TODO.md

Lines changed: 0 additions & 63 deletions
This file was deleted.

src/call_var_main.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
#define LONGCALLD_MIN_CAND_DP 5 // total depth < 5: skipped
1919
#define LONGCALLD_MIN_ALT_DP 2 // max alt depth < 2: skipped
2020
#define LONGCALLD_MIN_SOMATIC_AF 0.05 // AF < 0.05: filtered out, 0.05~0.25: candidate somatic
21-
#define LONGCALLD_MIN_CAND_AF 0.20 // AF < 0.25: not germline het.
22-
#define LONGCALLD_MAX_CAND_AF 0.80 // AF > 0.75: not germline het.
21+
#define LONGCALLD_MIN_CAND_AF 0.20 // AF < 0.20: not germline het.
22+
#define LONGCALLD_MAX_CAND_AF 0.80 // AF > 0.80: not germline het.
2323
#define LONGCALLD_DEF_PLOID 2 // diploid
2424
#define LONGCALLD_REF_ALLELE 0
2525
#define LONGCALLD_ALT_ALLELE1 1

0 commit comments

Comments
 (0)