Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaudis committed Oct 29, 2024
1 parent b81be55 commit 4e325b1
Show file tree
Hide file tree
Showing 34 changed files with 21 additions and 2,730 deletions.
9 changes: 6 additions & 3 deletions bin/ISCNdefuser.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from tabulate import tabulate

from bycon import *
from bycon.services import bycon_bundler, datatable_utils, file_utils, service_helpers
from byconServiceLibs import bycon_bundler, datatable_utils, file_utils, service_helpers

loc_path = path.dirname( path.abspath(__file__) )
services_tmp_path = path.join( loc_path, pardir, "tmp" )
Expand Down Expand Up @@ -147,10 +147,13 @@ def main():
if not cb_pat.match(i_v_2):
print(f'¡¡¡ {l_no} - {bios_id}: {i_v_2} looks strange => skipping !!!')
continue
cytoBands_1, chro_1, start_1, end_1, error_1 = bands_from_cytobands(i_v_1)

CB = Cytobands()
cytoBands_1, chro_1, start_1, end_1 = CB.bands_from_cytostring(i_v_1)
cytoBands_2, chro_2, start_2, end_2 = CB.bands_from_cytostring(i_v_2)

chroBases_1 = "{}:{}-{}".format(chro_1, start_1, end_1)
r_id_1 = chro_names.refseq(chro_1)
cytoBands_2, chro_2, start_2, end_2, error_2 = bands_from_cytobands(i_v_2)
chroBases_2 = "{}:{}-{}".format(chro_2, start_2, end_2)
r_id_2 = chro_names.refseq(chro_2)

Expand Down
2 changes: 1 addition & 1 deletion bin/ISCNsegmenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import sys, datetime

from bycon import *
from bycon.services import cytoband_utils, datatable_utils, export_file_generation, interval_utils
from byconServiceLibs import cytoband_utils, datatable_utils, export_file_generation, interval_utils

"""
bin/ISCNsegmenter.py -i imports/ccghtest.tab -o exports/cghvars.tsv
Expand Down
95 changes: 0 additions & 95 deletions bin/examplezSampler.py

This file was deleted.

185 changes: 0 additions & 185 deletions bin/examplezUpdater.py

This file was deleted.

2 changes: 1 addition & 1 deletion bin/geosoftRetriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import sys, datetime

from bycon import *
from bycon.services import file_utils
from byconServiceLibs import file_utils

loc_path = path.dirname( path.abspath(__file__) )
log_path = path.join( loc_path, pardir, "logs" )
Expand Down
Empty file modified bin/pgxProbesPlotter.py
100644 → 100755
Empty file.
12 changes: 2 additions & 10 deletions bin/pgxsegPlotter.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@
from os import path, environ, pardir

from bycon import *

services_lib_path = path.join( path.dirname( path.abspath(__file__) ), pardir, "services", "lib" )
sys.path.append( services_lib_path )
from bycon_bundler import ByconBundler
from bycon_plot import *
from interval_utils import generate_genome_bins
from byconServiceLibs import *

"""
./bin/pgxsegPlotter.py -i ./imports/test.pgxseg -o ./exports/test.svg
./bin/pgxsegPlotter.py -i ./imports/variants.pgxseg -o ./exports/test.svg
"""

################################################################################
Expand All @@ -26,9 +21,6 @@ def main():
################################################################################

def pgxseg_plotter():
initialize_bycon_service()
generate_genome_bins()

input_file = BYC_PARS.get("inputfile")
output_file = BYC_PARS.get("outputfile")

Expand Down
2 changes: 1 addition & 1 deletion bin/publicationsInserter.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import csv, datetime, requests, sys

from bycon import *
from bycon.services import datatable_utils, service_helpers
from byconServiceLibs import datatable_utils, service_helpers

"""
* pubUpdater.py -t 1 -f "../rsrc/publications.txt"
Expand Down
Empty file modified bin/samplesPlotter.py
100644 → 100755
Empty file.
Loading

0 comments on commit 4e325b1

Please sign in to comment.