Name | cuteSV JSON |
Version |
2.1.1
JSON |
| download |
home_page | https://github.com/tjiangHIT/cuteSV |
Summary | Long-read-based human genomic structural variation detection with cuteSV |
upload_time | 2024-04-12 05:21:13 |
maintainer | None |
docs_url | None |
author | Jiang Tao |
requires_python | None |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# cuteSV
[![European Galaxy server](https://img.shields.io/badge/usegalaxy-.eu-brightgreen?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAASCAYAAABB7B6eAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAAsTAAALEwEAmpwYAAACC2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDx0aWZmOlJlc29sdXRpb25Vbml0PjI8L3RpZmY6UmVzb2x1dGlvblVuaXQ+CiAgICAgICAgIDx0aWZmOkNvbXByZXNzaW9uPjE8L3RpZmY6Q29tcHJlc3Npb24+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlBob3RvbWV0cmljSW50ZXJwcmV0YXRpb24+MjwvdGlmZjpQaG90b21ldHJpY0ludGVycHJldGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KD0UqkwAAAn9JREFUOBGlVEuLE0EQruqZiftwDz4QYT1IYM8eFkHFw/4HYX+GB3/B4l/YP+CP8OBNTwpCwFMQXAQPKtnsg5nJZpKdni6/6kzHvAYDFtRUT71f3UwAEbkLch9ogQxcBwRKMfAnM1/CBwgrbxkgPAYqlBOy1jfovlaPsEiWPROZmqmZKKzOYCJb/AbdYLso9/9B6GppBRqCrjSYYaquZq20EUKAzVpjo1FzWRDVrNay6C/HDxT92wXrAVCH3ASqq5VqEtv1WZ13Mdwf8LFyyKECNbgHHAObWhScf4Wnj9CbQpPzWYU3UFoX3qkhlG8AY2BTQt5/EA7qaEPQsgGLWied0A8VKrHAsCC1eJ6EFoUd1v6GoPOaRAtDPViUr/wPzkIFV9AaAZGtYB568VyJfijV+ZBzlVZJ3W7XHB2RESGe4opXIGzRTdjcAupOK09RA6kzr1NTrTj7V1ugM4VgPGWEw+e39CxO6JUw5XhhKihmaDacU2GiR0Ohcc4cZ+Kq3AjlEnEeRSazLs6/9b/kh4eTC+hngE3QQD7Yyclxsrf3cpxsPXn+cFdenF9aqlBXMXaDiEyfyfawBz2RqC/O9WF1ysacOpytlUSoqNrtfbS642+4D4CS9V3xb4u8P/ACI4O810efRu6KsC0QnjHJGaq4IOGUjWTo/YDZDB3xSIxcGyNlWcTucb4T3in/3IaueNrZyX0lGOrWndstOr+w21UlVFokILjJLFhPukbVY8OmwNQ3nZgNJNmKDccusSb4UIe+gtkI+9/bSLJDjqn763f5CQ5TLApmICkqwR0QnUPKZFIUnoozWcQuRbC0Km02knj0tPYx63furGs3x/iPnz83zJDVNtdP3QAAAABJRU5ErkJggg==)](https://usegalaxy.eu/root?tool_id=cutesv)
[![PyPI version](https://badge.fury.io/py/cuteSV.svg)](https://badge.fury.io/py/cuteSV)
[![Anaconda-Server Badge](https://anaconda.org/bioconda/cutesv/badges/version.svg)](https://anaconda.org/bioconda/cutesv)
[![Anaconda-Server Badge](https://anaconda.org/bioconda/cutesv/badges/license.svg)](https://anaconda.org/bioconda/cutesv)
[![Anaconda-Server Badge](https://anaconda.org/bioconda/cutesv/badges/platforms.svg)](https://anaconda.org/bioconda/cutesv)
[![Anaconda-Server Badge](https://anaconda.org/bioconda/cutesv/badges/latest_release_date.svg)](https://anaconda.org/bioconda/cutesv)
[![Anaconda-Server Badge](https://anaconda.org/bioconda/cutesv/badges/downloads.svg)](https://anaconda.org/bioconda/cutesv)
---
### Getting Start
__________ __ __
| ____ | | | | |
_ | | |__| | | | |
_______ _ _ ___| |___ ______ | | | | | |
| ___ | | | | | |___ ___| / ____ \ | |_______ | | | |
| | |_| | | | | | | / /____\ \ |_______ | | | | |
| | | | | | | | | _______| __ | | \ \ / /
| | _ | | | | | | _ | | _ | | | | \ \ / /
| |___| | | |___| | | |_| | \ \____/ | | |____| | \ \_/ /
|_______| |_______| |_____| \______/ |__________| \_____/
---
### Installation
$ pip install cuteSV
or
$ conda install -c bioconda cutesv
or
$ git clone https://github.com/tjiangHIT/cuteSV.git && cd cuteSV/ && python setup.py install
---
### Introduction
Long-read sequencing enables the comprehensive discovery of structural variations (SVs). However, it is still non-trivial to achieve high sensitivity and performance simultaneously due to the complex SV characteristics implied by noisy long reads. Therefore, we propose cuteSV, a sensitive, fast and scalable long-read-based SV detection approach. cuteSV uses tailored methods to collect the signatures of various types of SVs and employs a clustering-and-refinement method to analyze the signatures to implement sensitive SV detection. Benchmarks on real Pacific Biosciences (PacBio) and Oxford Nanopore Technology (ONT) datasets demonstrate that cuteSV has better yields and scalability than state-of-the-art tools.
The benchmark results of cuteSV on the HG002 human sample are below:
<img src="hg2_assessments.png" width="800px">
BTW, we used [Truvari](https://github.com/spiralgenetics/truvari) to calculate the recall, precision, and f-measure.
For more detailed implementation of SV benchmarks, we show an example [here](https://github.com/tjiangHIT/sv-benchmark).
## Notice
A new wiki page about diploid-assembly-based SV detection using cuteSV has been established. More details please see [here](https://github.com/tjiangHIT/cuteSV/wiki/Diploid-assembly-based-SV-detection-using-cuteSV).
We provided a new document for applying **force calling** (or **regenotyping**) benchmark [here](https://github.com/tjiangHIT/cuteSV/tree/master/src/documentation).
---
### Dependence
1. python3
2. scipy
2. pysam
3. Biopython
4. cigar
5. numpy
6. pyvcf3
7. scikit-learn
---
### Usage
cuteSV <sorted.bam> <reference.fa> <output.vcf> <work_dir>
*Suggestions*
> For PacBio CLR data:
--max_cluster_bias_INS 100
--diff_ratio_merging_INS 0.3
--max_cluster_bias_DEL 200
--diff_ratio_merging_DEL 0.5
> For PacBio CCS(HIFI) data:
--max_cluster_bias_INS 1000
--diff_ratio_merging_INS 0.9
--max_cluster_bias_DEL 1000
--diff_ratio_merging_DEL 0.5
> For ONT data:
--max_cluster_bias_INS 100
--diff_ratio_merging_INS 0.3
--max_cluster_bias_DEL 100
--diff_ratio_merging_DEL 0.3
> For force calling:
--min_mapq 10
| Parameter | Description | Default |
| :------------ |:---------------|-------------:|
|--threads|Number of threads to use.| 16 |
|--batches| Batch of genome segmentation interval.|10,000,000|
|--sample| Sample name/id |NULL|
|--retain_work_dir|Enable to retain temporary folder and files.|False|
|--write_old_sigs|Enable to output temporary sig files.|False|
|--report_readid|Enable to report supporting read ids for each SV.|False|
|--max_split_parts|Maximum number of split segments a read may be aligned before it is ignored. All split segments are considered when using -1. (Recommand -1 when applying assembly-based alignment.)|7|
|--min_mapq|Minimum mapping quality value of alignment to be taken into account.|20|
|--min_read_len|Ignores reads that only report alignments with not longer than bp.|500|
|--merge_del_threshold|Maximum distance of deletion signals to be merged.|0|
|--merge_ins_threshold|Maximum distance of insertion signals to be merged.|100|
|--min_support|Minimum number of reads that support a SV to be reported.|10|
|--min_size|Minimum length of SV to be reported.|30|
|--max_size|Maximum size of SV to be reported. Full length SVs are reported when using -1.|100000|
|--genotype|Enable to generate genotypes.|False|
|--gt_round|Maximum round of iteration for alignments searching if perform genotyping.|500|
|--read_range|The interval range for counting reads distribution.|1000|
|-Ivcf|Optional given vcf file. Enable to perform force calling.|NULL|
|--max_cluster_bias_INS|Maximum distance to cluster read together for insertion.|100|
|--diff_ratio_merging_INS|Do not merge breakpoints with basepair identity more than the ratio of *default* for insertion.|0.3|
|--max_cluster_bias_DEL|Maximum distance to cluster read together for deletion.|200|
|--diff_ratio_merging_DEL|Do not merge breakpoints with basepair identity more than the ratio of *default* for deletion.|0.5|
|--max_cluster_bias_INV|Maximum distance to cluster read together for inversion.|500|
|--max_cluster_bias_DUP|Maximum distance to cluster read together for duplication.|500|
|--max_cluster_bias_TRA|Maximum distance to cluster read together for translocation.|50|
|--diff_ratio_filtering_TRA|Filter breakpoints with basepair identity less than the ratio of *default* for translocation.|0.6|
|--remain_reads_ratio|The ratio of reads remained in cluster to generate the breakpoint. Set lower to get more precise breakpoint when the alignment data have high quality but recommand over 0.5.|1|
|-include_bed|Optional given bed file. Only detect SVs in regions in the BED file.|NULL|
---
### Datasets generated from cuteSV
We provided the SV callsets of the HG002 human sample produced by cuteSV form three different long-read sequencing platforms (i.e. PacBio CLR, PacBio CCS, and ONT PromethION).
You can download them at:
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3783083.svg)](https://doi.org/10.5281/zenodo.3783083)
Please cite the manuscript of cuteSV before using these callsets.
---
### Changelog
cuteSV (v2.1.1)
1. fix bugs in resolving reference genomes
2. modify several dependencies and remove some useless dependencies
3. update several evaluation scripts
cuteSV (v2.1.0)
1. Speed up both SV discovery calling and force calling comprehensively.
2. Upgrade the force calling module.
3. Modify the temporary files. The sigs file are only generated with the "write_old_sigs" parameter.
4. Update several regulations in signature extraction.
cuteSV (v2.0.3):
1. Fix the error of missing min_size parameter.
2. Fix the missing signatures in duplication clustering.
cuteSV (v2.0.2):
1. Fix several errors in signature extraction.
2. Filter low quality reads in the statistics of reference reads.
3. Modify the rule of merging signatures on the same read.
4. Modify the cluster rule of insertions and deletions in force calling.
cuteSV (v2.0.1):
1. Fix an error in handling strand in force calling.
2. Speed up the genotype module of discovery calling. The comparison results on various datasets are as follows.
| | cuteSV | cuteSV2 |
| |(previous)| (latest) |
| CCS | 900.37s | 261.77s |
| CLR | 3620.00s | 2644.94s |
| ONT | 2893.08s | 1264.26s |
cuteSV (v2.0.0):
1. Upgrate force calling module.
2. Add --remain_reads_ratio parameter in order to generate highly accurate record by discarding a few signatures.
3. Fix several bugs in inversion and translocation calling.
4. Remove the redundant operations in the signature extraction and accelerate the whole analysis.
5. Streamline the translocation output when performing force-calling.
6. Modify the signature matching rule.
7. Modify the sequence of the inserted allele.
cuteSV (v1.0.13):
1. Modify the breakpoints of alternative allele and reference allele.
2. Fix an initialization error that will reproduce wrong diploid-assembly-based SV call.
cuteSV (v1.0.12):
1. Add Allele frequency (AF) info in the outputs.
2. Fix an index error when force calling BND variants.
3. Modify the parameter of --max_size and enable to report full length of SVs.
cuteSV (v1.0.11):
1. Add a script for post-processing typically cuteSV callsets from assembly-based alignments to generate the diploid-assembly-based SV calls.
2. Give a wiki page for helping uses to achieve assembly-based SV calling.
3. Improve acquirement of inserted sequence in a read whose primary alignment contains hardclips.
4. Improve the performance of force calling.
5. Enable cuteSV to output allele sequences when performing force calling with the VCF generated from other callers.
6. Fix bugs to avoid the error raised by abnormal SV type.
7. Update the sort commands used in cuteSV.
8. Update the parameter of --max_split_parts.
cuteSV (v1.0.10):
1. Fix a bug leading to calculate wrong TRA positions.
2. Add a file format conversion script that enable to transfer the vcf file to bedpe file.
3. Involve several clustering-and-refinement strategies in force calling function.
4. Assessed the performance of force calling with Giab HG002 sample datasets (including CLR, CCS, and ONT platforms).
cuteSV (v1.0.9):
1. Change 0-based pos into 1-based pos in DUP in order to support bcftools conversion.
2. Correct REF and ALT fields. Adjust END value of INS to make it equal to the value of POS.
3. Improve the description of errors.
4. Add usegalaxy.eu badge.
5. Remove CHR2 and the corresponding END position on the BND call.
6. Skip generating empty signature file and rewrite the job schedule.
7. Add force calling function and enable cuteSV to perform population-based SV calling.
8. Fix several minor bugs.
cuteSV (v1.0.8):
1. Rewirte the function of ins/del signatures clustering.
2. Update the recommandation parameters for different sequencing datasets.
3. Replace <DEL>/<INS> with its variant allele sequence, which needs the reference genome sequence as input.
4. Fix several bugs.
cuteSV (v1.0.7):
1. Add read name list for each SV call.
2. Fix several descriptions in VCF header field.
cuteSV (v1.0.6):
1.Improvement of genotyping by calculation of likelihood.
2.Add variant quality value, phred-scaled genotype likelihood and genotype quality in order to filter false positive SV or quality control.
3.Add --gt_round parameter to control the number of read scans.
4.Add variant strand of DEL/DUP/INV.
5.Fix several bugs.
cuteSV (v1.0.5):
1.Add new options for specificly setting the threshold of deletion/insertion signals merging in the same read. The default parameters are 0 bp for deletion and 100 bp for insertion.
2.Remove parameter --merge_threshold.
3.Fix bugs in inversion and translocation calling.
4.Add new option for specificly setting the maximum size of SV to be discovered. The default value is 100,000 bp.
cuteSV (v1.0.4):
1.Add a new option for specificly setting the threshold of SV signals merging in the same read. The default parameter is 500 bp. You can reduce it for high-quality sequencing datasets like PacBio HiFi (CCS).
2.Make the genotyping function optional.
3.Enable users to set the threshold of SV allele frequency of homozygous/heterozygous.
4.Update the description of recommendation parameters in processing ONT data.
cuteSV (v1.0.3):
1.Refine the genotyping model.
2.Adjust the threshold value of heterozygosis alleles.
cuteSV (v1.0.2):
1.Improve the genotyping performance and enable it to be default option.
2.Make the description of parameters better.
3.Modify the header description of vcf file.
4.Add two new indicators, i.e., BREAKPOINT_STD and SVLEN_STD, to further characterise deletion and insertion.
5.Remove a few redundant functions which will reduce code readability.
---
### Citation
Jiang T et al. Long-read-based human genomic structural variation detection with cuteSV. Genome Biol 21, 189 (2020). https://doi.org/10.1186/s13059-020-02107-y
Cao S et al. Re-genotyping structural variants through an accurate force-calling method. bioRxiv 2022.08.29.505534; doi: https://doi.org/10.1101/2022.08.29.505534
---
### Contact
For advising, bug reporting and requiring help, please post on [Github Issue](https://github.com/tjiangHIT/cuteSV/issues) or contact tjiang@hit.edu.cn.
Raw data
{
"_id": null,
"home_page": "https://github.com/tjiangHIT/cuteSV",
"name": "cuteSV",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Jiang Tao",
"author_email": "tjiang@hit.edu.cn",
"download_url": "https://files.pythonhosted.org/packages/30/3b/68278a636d9c74c9b64411cee170871525ab171559cde3cd8ed62d25ee82/cuteSV-2.1.1.tar.gz",
"platform": null,
"description": "# cuteSV\n\n[![European Galaxy server](https://img.shields.io/badge/usegalaxy-.eu-brightgreen?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAASCAYAAABB7B6eAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAAsTAAALEwEAmpwYAAACC2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDx0aWZmOlJlc29sdXRpb25Vbml0PjI8L3RpZmY6UmVzb2x1dGlvblVuaXQ+CiAgICAgICAgIDx0aWZmOkNvbXByZXNzaW9uPjE8L3RpZmY6Q29tcHJlc3Npb24+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlBob3RvbWV0cmljSW50ZXJwcmV0YXRpb24+MjwvdGlmZjpQaG90b21ldHJpY0ludGVycHJldGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KD0UqkwAAAn9JREFUOBGlVEuLE0EQruqZiftwDz4QYT1IYM8eFkHFw/4HYX+GB3/B4l/YP+CP8OBNTwpCwFMQXAQPKtnsg5nJZpKdni6/6kzHvAYDFtRUT71f3UwAEbkLch9ogQxcBwRKMfAnM1/CBwgrbxkgPAYqlBOy1jfovlaPsEiWPROZmqmZKKzOYCJb/AbdYLso9/9B6GppBRqCrjSYYaquZq20EUKAzVpjo1FzWRDVrNay6C/HDxT92wXrAVCH3ASqq5VqEtv1WZ13Mdwf8LFyyKECNbgHHAObWhScf4Wnj9CbQpPzWYU3UFoX3qkhlG8AY2BTQt5/EA7qaEPQsgGLWied0A8VKrHAsCC1eJ6EFoUd1v6GoPOaRAtDPViUr/wPzkIFV9AaAZGtYB568VyJfijV+ZBzlVZJ3W7XHB2RESGe4opXIGzRTdjcAupOK09RA6kzr1NTrTj7V1ugM4VgPGWEw+e39CxO6JUw5XhhKihmaDacU2GiR0Ohcc4cZ+Kq3AjlEnEeRSazLs6/9b/kh4eTC+hngE3QQD7Yyclxsrf3cpxsPXn+cFdenF9aqlBXMXaDiEyfyfawBz2RqC/O9WF1ysacOpytlUSoqNrtfbS642+4D4CS9V3xb4u8P/ACI4O810efRu6KsC0QnjHJGaq4IOGUjWTo/YDZDB3xSIxcGyNlWcTucb4T3in/3IaueNrZyX0lGOrWndstOr+w21UlVFokILjJLFhPukbVY8OmwNQ3nZgNJNmKDccusSb4UIe+gtkI+9/bSLJDjqn763f5CQ5TLApmICkqwR0QnUPKZFIUnoozWcQuRbC0Km02knj0tPYx63furGs3x/iPnz83zJDVNtdP3QAAAABJRU5ErkJggg==)](https://usegalaxy.eu/root?tool_id=cutesv)\n[![PyPI version](https://badge.fury.io/py/cuteSV.svg)](https://badge.fury.io/py/cuteSV)\n[![Anaconda-Server Badge](https://anaconda.org/bioconda/cutesv/badges/version.svg)](https://anaconda.org/bioconda/cutesv)\n[![Anaconda-Server Badge](https://anaconda.org/bioconda/cutesv/badges/license.svg)](https://anaconda.org/bioconda/cutesv)\n[![Anaconda-Server Badge](https://anaconda.org/bioconda/cutesv/badges/platforms.svg)](https://anaconda.org/bioconda/cutesv)\n[![Anaconda-Server Badge](https://anaconda.org/bioconda/cutesv/badges/latest_release_date.svg)](https://anaconda.org/bioconda/cutesv)\n[![Anaconda-Server Badge](https://anaconda.org/bioconda/cutesv/badges/downloads.svg)](https://anaconda.org/bioconda/cutesv)\n\n---\n### Getting Start\n\t __________ __ __\n\t | ____ | | | | |\n\t _ | | |__| | | | |\n\t _______ _ _ ___| |___ ______ | | | | | |\n\t| ___ | | | | | |___ ___| / ____ \\ | |_______ | | | |\n\t| | |_| | | | | | | / /____\\ \\ |_______ | | | | |\n\t| | | | | | | | | _______| __ | | \\ \\ / /\n\t| | _ | | | | | | _ | | _ | | | | \\ \\ / /\n\t| |___| | | |___| | | |_| | \\ \\____/ | | |____| | \\ \\_/ /\n\t|_______| |_______| |_____| \\______/ |__________| \\_____/\n\n\n---\t\n### Installation\n\t$ pip install cuteSV\n\tor\n\t$ conda install -c bioconda cutesv\n\tor \n\t$ git clone https://github.com/tjiangHIT/cuteSV.git && cd cuteSV/ && python setup.py install \n\n---\t\n### Introduction\nLong-read sequencing enables the comprehensive discovery of structural variations (SVs). However, it is still non-trivial to achieve high sensitivity and performance simultaneously due to the complex SV characteristics implied by noisy long reads. Therefore, we propose cuteSV, a sensitive, fast and scalable long-read-based SV detection approach. cuteSV uses tailored methods to collect the signatures of various types of SVs and employs a clustering-and-refinement method to analyze the signatures to implement sensitive SV detection. Benchmarks on real Pacific Biosciences (PacBio) and Oxford Nanopore Technology (ONT) datasets demonstrate that cuteSV has better yields and scalability than state-of-the-art tools.\n\nThe benchmark results of cuteSV on the HG002 human sample are below:\n\n<img src=\"hg2_assessments.png\" width=\"800px\">\n\nBTW, we used [Truvari](https://github.com/spiralgenetics/truvari) to calculate the recall, precision, and f-measure.\nFor more detailed implementation of SV benchmarks, we show an example [here](https://github.com/tjiangHIT/sv-benchmark).\n\n## Notice\nA new wiki page about diploid-assembly-based SV detection using cuteSV has been established. More details please see [here](https://github.com/tjiangHIT/cuteSV/wiki/Diploid-assembly-based-SV-detection-using-cuteSV).\n\nWe provided a new document for applying **force calling** (or **regenotyping**) benchmark [here](https://github.com/tjiangHIT/cuteSV/tree/master/src/documentation).\n\n---\n### Dependence\n\t\n\t1. python3\n \t2. scipy\n\t2. pysam\n\t3. Biopython\n\t4. cigar\n\t5. numpy\n\t6. pyvcf3\n \t7. scikit-learn\n\n---\n### Usage\n\tcuteSV <sorted.bam> <reference.fa> <output.vcf> <work_dir>\n\t\n*Suggestions*\n\n\t> For PacBio CLR data:\n\t\t--max_cluster_bias_INS\t\t100\n\t\t--diff_ratio_merging_INS\t0.3\n\t\t--max_cluster_bias_DEL\t200\n\t\t--diff_ratio_merging_DEL\t0.5\n\n\t> For PacBio CCS(HIFI) data:\n\t\t--max_cluster_bias_INS\t\t1000\n\t\t--diff_ratio_merging_INS\t0.9\n\t\t--max_cluster_bias_DEL\t1000\n\t\t--diff_ratio_merging_DEL\t0.5\n\n\t> For ONT data:\n\t\t--max_cluster_bias_INS\t\t100\n\t\t--diff_ratio_merging_INS\t0.3\n\t\t--max_cluster_bias_DEL\t100\n\t\t--diff_ratio_merging_DEL\t0.3\n\t> For force calling:\n\t\t--min_mapq \t\t\t10\n\t\n| Parameter | Description | Default |\n| :------------ |:---------------|-------------:|\n|--threads|Number of threads to use.| 16 |\n|--batches| Batch of genome segmentation interval.|10,000,000|\n|--sample| Sample name/id |NULL|\n|--retain_work_dir|Enable to retain temporary folder and files.|False|\n|--write_old_sigs|Enable to output temporary sig files.|False|\n|--report_readid|Enable to report supporting read ids for each SV.|False|\n|--max_split_parts|Maximum number of split segments a read may be aligned before it is ignored. All split segments are considered when using -1. (Recommand -1 when applying assembly-based alignment.)|7|\n|--min_mapq|Minimum mapping quality value of alignment to be taken into account.|20|\n|--min_read_len|Ignores reads that only report alignments with not longer than bp.|500|\n|--merge_del_threshold|Maximum distance of deletion signals to be merged.|0|\n|--merge_ins_threshold|Maximum distance of insertion signals to be merged.|100|\n|--min_support|Minimum number of reads that support a SV to be reported.|10|\n|--min_size|Minimum length of SV to be reported.|30|\n|--max_size|Maximum size of SV to be reported. Full length SVs are reported when using -1.|100000|\n|--genotype|Enable to generate genotypes.|False|\n|--gt_round|Maximum round of iteration for alignments searching if perform genotyping.|500|\n|--read_range|The interval range for counting reads distribution.|1000|\n|-Ivcf|Optional given vcf file. Enable to perform force calling.|NULL|\n|--max_cluster_bias_INS|Maximum distance to cluster read together for insertion.|100|\n|--diff_ratio_merging_INS|Do not merge breakpoints with basepair identity more than the ratio of *default* for insertion.|0.3|\n|--max_cluster_bias_DEL|Maximum distance to cluster read together for deletion.|200|\n|--diff_ratio_merging_DEL|Do not merge breakpoints with basepair identity more than the ratio of *default* for deletion.|0.5|\n|--max_cluster_bias_INV|Maximum distance to cluster read together for inversion.|500|\n|--max_cluster_bias_DUP|Maximum distance to cluster read together for duplication.|500|\n|--max_cluster_bias_TRA|Maximum distance to cluster read together for translocation.|50|\n|--diff_ratio_filtering_TRA|Filter breakpoints with basepair identity less than the ratio of *default* for translocation.|0.6|\n|--remain_reads_ratio|The ratio of reads remained in cluster to generate the breakpoint. Set lower to get more precise breakpoint when the alignment data have high quality but recommand over 0.5.|1|\n|-include_bed|Optional given bed file. Only detect SVs in regions in the BED file.|NULL|\n\n---\n### Datasets generated from cuteSV\nWe provided the SV callsets of the HG002 human sample produced by cuteSV form three different long-read sequencing platforms (i.e. PacBio CLR, PacBio CCS, and ONT PromethION). \n\nYou can download them at: \n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3783083.svg)](https://doi.org/10.5281/zenodo.3783083)\n\nPlease cite the manuscript of cuteSV before using these callsets.\n\n---\n### Changelog\n\tcuteSV (v2.1.1)\n\t1. fix bugs in resolving reference genomes\n \t2. modify several dependencies and remove some useless dependencies\n \t3. update several evaluation scripts\n \n \tcuteSV (v2.1.0)\n \t1. Speed up both SV discovery calling and force calling comprehensively.\n \t2. Upgrade the force calling module.\n \t3. Modify the temporary files. The sigs file are only generated with the \"write_old_sigs\" parameter.\n\t4. Update several regulations in signature extraction.\n \n \tcuteSV (v2.0.3):\n\t1. Fix the error of missing min_size parameter.\n\t2. Fix the missing signatures in duplication clustering.\n\t\n\tcuteSV (v2.0.2):\n\t1. Fix several errors in signature extraction.\n\t2. Filter low quality reads in the statistics of reference reads.\n\t3. Modify the rule of merging signatures on the same read.\n\t4. Modify the cluster rule of insertions and deletions in force calling.\n\n\tcuteSV (v2.0.1):\n\t1. Fix an error in handling strand in force calling.\n\t2. Speed up the genotype module of discovery calling. The comparison results on various datasets are as follows.\n\t | | cuteSV | cuteSV2 |\n\t | |(previous)| (latest) |\n\t | CCS | 900.37s | 261.77s |\n\t | CLR | 3620.00s | 2644.94s |\n\t | ONT | 2893.08s | 1264.26s |\n\n\tcuteSV (v2.0.0):\n\t1. Upgrate force calling module.\n\t2. Add --remain_reads_ratio parameter in order to generate highly accurate record by discarding a few signatures.\n\t3. Fix several bugs in inversion and translocation calling.\n\t4. Remove the redundant operations in the signature extraction and accelerate the whole analysis.\n\t5. Streamline the translocation output when performing force-calling.\n\t6. Modify the signature matching rule.\n\t7. Modify the sequence of the inserted allele.\n\n\tcuteSV (v1.0.13):\n\t1. Modify the breakpoints of alternative allele and reference allele. \n\t2. Fix an initialization error that will reproduce wrong diploid-assembly-based SV call.\n\n\tcuteSV (v1.0.12):\n\t1. Add Allele frequency (AF) info in the outputs.\n\t2. Fix an index error when force calling BND variants.\n\t3. Modify the parameter of --max_size and enable to report full length of SVs.\n\n\tcuteSV (v1.0.11):\n\t1. Add a script for post-processing typically cuteSV callsets from assembly-based alignments to generate the diploid-assembly-based SV calls.\n\t2. Give a wiki page for helping uses to achieve assembly-based SV calling.\n\t3. Improve acquirement of inserted sequence in a read whose primary alignment contains hardclips.\n\t4. Improve the performance of force calling.\n\t5. Enable cuteSV to output allele sequences when performing force calling with the VCF generated from other callers. \n\t6. Fix bugs to avoid the error raised by abnormal SV type.\n\t7. Update the sort commands used in cuteSV. \n\t8. Update the parameter of --max_split_parts.\n\n\tcuteSV (v1.0.10):\n\t1. Fix a bug leading to calculate wrong TRA positions.\n\t2. Add a file format conversion script that enable to transfer the vcf file to bedpe file. \n\t3. Involve several clustering-and-refinement strategies in force calling function.\n\t4. Assessed the performance of force calling with Giab HG002 sample datasets (including CLR, CCS, and ONT platforms).\n\n\tcuteSV (v1.0.9):\n\t1. Change 0-based pos into 1-based pos in DUP in order to support bcftools conversion.\n\t2. Correct REF and ALT fields. Adjust END value of INS to make it equal to the value of POS.\n\t3. Improve the description of errors.\n\t4. Add usegalaxy.eu badge.\n\t5. Remove CHR2 and the corresponding END position on the BND call.\n\t6. Skip generating empty signature file and rewrite the job schedule.\n\t7. Add force calling function and enable cuteSV to perform population-based SV calling.\n\t8. Fix several minor bugs.\n\n\tcuteSV (v1.0.8):\n\t1. Rewirte the function of ins/del signatures clustering.\n\t2. Update the recommandation parameters for different sequencing datasets.\n\t3. Replace <DEL>/<INS> with its variant allele sequence, which needs the reference genome sequence as input.\n\t4. Fix several bugs.\n\n\tcuteSV (v1.0.7):\n\t1. Add read name list for each SV call.\n\t2. Fix several descriptions in VCF header field.\n\n\tcuteSV (v1.0.6):\n\t1.Improvement of genotyping by calculation of likelihood.\n\t2.Add variant quality value, phred-scaled genotype likelihood and genotype quality in order to filter false positive SV or quality control.\n\t3.Add --gt_round parameter to control the number of read scans.\n\t4.Add variant strand of DEL/DUP/INV.\n\t5.Fix several bugs.\n\n\tcuteSV (v1.0.5):\n\t1.Add new options for specificly setting the threshold of deletion/insertion signals merging in the same read. The default parameters are 0 bp for deletion and 100 bp for insertion.\n\t2.Remove parameter --merge_threshold.\n\t3.Fix bugs in inversion and translocation calling.\n\t4.Add new option for specificly setting the maximum size of SV to be discovered. The default value is 100,000 bp. \n\n\tcuteSV (v1.0.4):\n\t1.Add a new option for specificly setting the threshold of SV signals merging in the same read. The default parameter is 500 bp. You can reduce it for high-quality sequencing datasets like PacBio HiFi (CCS).\n\t2.Make the genotyping function optional.\n\t3.Enable users to set the threshold of SV allele frequency of homozygous/heterozygous.\n\t4.Update the description of recommendation parameters in processing ONT data.\n\n\tcuteSV (v1.0.3):\n\t1.Refine the genotyping model.\n\t2.Adjust the threshold value of heterozygosis alleles.\n\n\tcuteSV (v1.0.2):\n\t1.Improve the genotyping performance and enable it to be default option.\n\t2.Make the description of parameters better.\n\t3.Modify the header description of vcf file.\n\t4.Add two new indicators, i.e., BREAKPOINT_STD and SVLEN_STD, to further characterise deletion and insertion.\n\t5.Remove a few redundant functions which will reduce code readability.\n\n\n---\n### Citation\nJiang T et al. Long-read-based human genomic structural variation detection with cuteSV. Genome Biol 21, 189 (2020). https://doi.org/10.1186/s13059-020-02107-y\n\nCao S et al. Re-genotyping structural variants through an accurate force-calling method. bioRxiv 2022.08.29.505534; doi: https://doi.org/10.1101/2022.08.29.505534\n\t\n---\n### Contact\nFor advising, bug reporting and requiring help, please post on [Github Issue](https://github.com/tjiangHIT/cuteSV/issues) or contact tjiang@hit.edu.cn.\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Long-read-based human genomic structural variation detection with cuteSV",
"version": "2.1.1",
"project_urls": {
"Homepage": "https://github.com/tjiangHIT/cuteSV"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "303b68278a636d9c74c9b64411cee170871525ab171559cde3cd8ed62d25ee82",
"md5": "6bac86af0e33634f8b4d87b370fb3221",
"sha256": "af4c50a3d0091275a09e50a025047fdf1afc7f8df5c98cf9ab27ea0ea559bc70"
},
"downloads": -1,
"filename": "cuteSV-2.1.1.tar.gz",
"has_sig": false,
"md5_digest": "6bac86af0e33634f8b4d87b370fb3221",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 54955,
"upload_time": "2024-04-12T05:21:13",
"upload_time_iso_8601": "2024-04-12T05:21:13.827911Z",
"url": "https://files.pythonhosted.org/packages/30/3b/68278a636d9c74c9b64411cee170871525ab171559cde3cd8ed62d25ee82/cuteSV-2.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-12 05:21:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tjiangHIT",
"github_project": "cuteSV",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "cutesv"
}