ScanITD can be installed using pip, the Python package installer. Follow these steps to install:
-
Ensure you have Python 3.10 or later installed on your system.
-
Create a virtual environment (recommended):
python -m venv scanitd_env source scanitd_env/bin/activate # On Windows use `scanitd_env\Scripts\activate`
-
Install ScanITD:
pip install scanitd
-
Verify the installation:
scanitd --help
Usage: scanitd [OPTIONS]
ScanITD: Detecting internal tandem duplication with robust variant allele frequency estimation
-
--input,-iPATH- Aligned BAM file
- Required
-
--ref,-rPATH- Reference genome in FASTA format (with fai index)
- Required
-
--output,-oTEXT- Output VCF file
- Required
-
--mapq,-mINTEGER- Minimum MAPQ in BAM for calling ITD
- Default: 15
-
--ao,-cINTEGER- Minimum observation count for ITD
- Default: 4
-
--depth,-dINTEGER- Minimum depth to call ITD
- Default: 10
-
--vaf,-fFLOAT- Minimum variant allele frequency
- Default: 0.1
-
--lengthINTEGER- Minimum ITD length to report
- Default: 10
-
--aln-mismatches,-nINTEGER- Maximum allowed mismatches for pairwise local alignment
- Default: 1
-
--ins-mismatchesINTEGER- Maximum allowed mismatches for insertion-inferred duplication
- Default: 2
-
--target,-tTEXT- Limit analysis to targets listed in the BED-format file or a samtools region string
-
--log-level,-l[info|warning|error|debug|trace]- Set the logging level
- Default: info
-
--version,-v- Show version and exit
Wang TY. and Yang R. ScanITD: Detecting internal tandem duplication with robust variant allele frequency estimation.