- python (>3.7)
- numpy
- pandas
- matplotlib
- argparse
- SN: sample name
- chr_1: the chromosome of low-end breakpoint
- pos_1: genomic position of low-end breakpoint
- flag_1: the orientation of low-end breakpoint
- chr_2: the chromosome of low-end breakpoint
- pos_2: genomic position of low-end breakpoint
- flag_2: the orientation of low-end breakpoint
- sn: sample name that is consistent with sample name in input_SV_file
- link: the bp/kb path
-
bp_file: the normalized coverage of non-overlapping windows (200bp)
-
kp_file: the normalized coverage of non-overlapping windows (10kbp)
*note:
a. normalzied coverage is obtained from PATCHWORK results;
b. the shape of bp/kp matrix is N and M (N = the number of SV breakpoints; M = 201, 100 windows on the either left or right side of breakpoint)
- -type: choose the complex SV type you want to identify, consisting of complex TD/DEL, fold and unbalanced inversions.
a. identify fold-back inversion
python ../construct_rearrangements.py --type fold-back test.sv test.out bp.list kp.list
b. identify unbalnced inversions
python ../construct_rearrangements.py --type inv test.sv test.out bp.list kp.list
c. identify TD-del rearrangements
python ../construct_rearrangements.py --type td-del test.sv test.out bp.list kp.list