Skip to content

Commit ecbb0ce

Browse files
committed
moving plots
1 parent 3ec5f37 commit ecbb0ce

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed

src/hapcorrect/main_hapcorrect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
from src.breakpoint.breakpoints import add_breakpoints
2828
from src.utils.chromosome import get_contigs_list, extract_centromere_regions, csv_df_chromosomes_sorter, df_chromosomes_sorter
2929
from src.cna.phaseblocks import infer_missing_phaseblocks, is_phasesets_check_simple_heuristics
30-
from src.hapcorrect.plots import plot_coverage_data, loh_plots_genome
31-
from src.hapcorrect.plot_loh import detect_loh_centromere_regions, plot_snps
30+
from src.plots.phasing_plots import plot_coverage_data, loh_plots_genome
31+
from src.plots.loh_hapcorrect import detect_loh_centromere_regions, plot_snps
3232
from src.hapcorrect.phase_correction import merge_contiguous_indices, find_indices_to_be_merged
3333
from src.coverage.smoothing import smoothing
3434

src/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
from src.cna.purity_ploidy import (normal_genome_proportion, weigted_means_ploidy, average_p_value_genome, dna_purity_to_cell_purity,
3131
move_100pct_purity_sol, find_p_values_peaks, update_segs_with_normal_optimized)
3232
from src.utils.statistics import weighted_means
33-
from src.plots import coverage_plots_chromosomes, copy_number_plots_genome_details, copy_number_plots_genome, breakpoints_segments_means, \
33+
from src.plots.plots_main import coverage_plots_chromosomes, copy_number_plots_genome_details, copy_number_plots_genome, breakpoints_segments_means, \
3434
copy_number_plots_genome_breakpoints, copy_number_plots_genome_breakpoints_subclonal, copy_number_plots_genome_subclonal, \
3535
genes_copy_number_plots_genome, genes_plots_genome, heatmap_copy_number_plots_genome, plot_ploidy_purity_p_values
3636
from src.file_tools.process_vcf import vcf_parse_to_csv_for_het_phased_snps_phasesets
37-
from src.snps_loh import plot_snps_frequencies_without_phasing, plot_snps_ratios_genome, snps_df_loh, variation_plots, write_loh_regions
37+
from src.plots.snps_loh import plot_snps_frequencies_without_phasing, plot_snps_ratios_genome, snps_df_loh, variation_plots, write_loh_regions
3838
from src.hapcorrect.phase_correction import generate_phasesets_bins
3939
from src.cna.optimization import peak_detection_optimization
4040
from src.file_tools.generate_vcf import read_cn_segments_process_vcf

src/plots/__init__.py

Whitespace-only changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from src.utils.chromosome import csv_df_chromosomes_sorter, df_chromosomes_sorter
1010
from src.cna.loh import loh_regions_phasesets_hapcorrect, detect_alter_loh_regions_hapcorrect
1111
from src.utils.chromosome import get_contigs_list
12-
from src.hapcorrect.plots import add_scatter_trace_coverage, print_chromosome_html, plots_add_markers_lines, plots_layout_settings
12+
from src.plots.phasing_plots import add_scatter_trace_coverage, print_chromosome_html, plots_add_markers_lines, plots_layout_settings
1313

1414

1515
def detect_loh_centromere_regions(csv_df_coverage_tumor_chrom, chrom, args, centromere_region_starts, centromere_region_ends,
File renamed without changes.

src/snps_loh.py renamed to src/plots/snps_loh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from src.file_tools.process_vcf import get_snps_frquncies, vcf_parse_to_csv_for_snps
1212
from src.file_tools.process_vcf_legacy import snps_mean, get_snp_segments, get_snps_frquncies_coverage, get_snps_counts, get_snps_counts_cn_regions, get_snps_frquncies_genome
1313
from src.utils.chromosome import get_contigs_list, csv_df_chromosomes_sorter
14-
from src.plots import add_scatter_trace_coverage, print_chromosome_html, plots_add_markers_lines, plots_layout_settings,\
14+
from src.plots.plots_main import add_scatter_trace_coverage, print_chromosome_html, plots_add_markers_lines, plots_layout_settings,\
1515
whole_genome_combined_df, copy_number_plots_per_chromosome, print_genome_pdf, add_annotation
1616
from src.cna.loh import detect_alter_loh_regions, detect_alter_loh_regions
1717
from src.output.writers import write_header_comments

0 commit comments

Comments
 (0)