Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions deeptools/SES_scaleFactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

import os
import numpy as np
import warnings
np.warnings = warnings

# own packages
from deeptools import bamHandler
Expand Down
2 changes: 2 additions & 0 deletions deeptools/bamCompare.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

import argparse # to parse command line arguments
import numpy as np
import warnings
np.warnings = warnings
import sys

# my packages
Expand Down
2 changes: 2 additions & 0 deletions deeptools/bamCoverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import argparse
import sys
import numpy as np
import warnings
np.warnings = warnings
from deeptools import writeBedGraph # This should be made directly into a bigWig
from deeptools import parserCommon
from deeptools.getScaleFactor import get_scale_factor
Expand Down
2 changes: 2 additions & 0 deletions deeptools/bamPEFragmentSize.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import argparse
import sys
import numpy as np
import warnings
np.warnings = warnings

import matplotlib
matplotlib.use('Agg')
Expand Down
2 changes: 2 additions & 0 deletions deeptools/bigwigAverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import argparse
import sys
import numpy as np
import warnings
np.warnings = warnings
from deeptools import parserCommon
from deeptools import writeBedGraph_bam_and_bw

Expand Down
2 changes: 2 additions & 0 deletions deeptools/computeGCBias.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

import multiprocessing
import numpy as np
import warnings
np.warnings = warnings
import argparse
from scipy.stats import poisson
import py2bit
Expand Down
2 changes: 2 additions & 0 deletions deeptools/computeMatrixOperations.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import deeptools.heatmapper as heatmapper
import deeptoolsintervals.parse as dti
import numpy as np
import warnings
np.warnings = warnings
import argparse
import sys
import os
Expand Down
2 changes: 2 additions & 0 deletions deeptools/correctGCBias.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
import pysam
import multiprocessing
import numpy as np
import warnings
np.warnings = warnings
import argparse

from scipy.stats import binom
Expand Down
2 changes: 2 additions & 0 deletions deeptools/correlation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import itertools
import copy
import numpy as np
import warnings
np.warnings = warnings
import scipy.cluster.hierarchy as sch
import scipy.stats
import matplotlib as mpl
Expand Down
2 changes: 2 additions & 0 deletions deeptools/correlation_heatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from deeptools import cm # noqa: F401
import matplotlib.pyplot as plt
import numpy as np
import warnings
np.warnings = warnings
import scipy.cluster.hierarchy as sch
from matplotlib import rcParams
import matplotlib.colors as pltcolors
Expand Down
2 changes: 2 additions & 0 deletions deeptools/countReadsPerBin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import sys
import multiprocessing
import numpy as np
import warnings
np.warnings = warnings

# deepTools packages
import deeptools.utilities
Expand Down
2 changes: 2 additions & 0 deletions deeptools/getFragmentAndReadSize.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import numpy as np
import warnings
np.warnings = warnings

# own tools
from deeptools import bamHandler
Expand Down
2 changes: 2 additions & 0 deletions deeptools/getRatio.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import numpy as np
import warnings
np.warnings = warnings

old_settings = np.seterr(all='ignore')

Expand Down
2 changes: 2 additions & 0 deletions deeptools/getScaleFactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# -*- coding: utf-8 -*-

import numpy as np
import warnings
np.warnings = warnings
import deeptools.mapReduce as mapReduce
from deeptools import bamHandler
from deeptools import utilities
Expand Down
2 changes: 2 additions & 0 deletions deeptools/getScorePerBigWigBin.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import pyBigWig
import numpy as np
import warnings
np.warnings = warnings
import os
import sys
import shutil
Expand Down
2 changes: 2 additions & 0 deletions deeptools/heatmapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import gzip
from collections import OrderedDict
import numpy as np
import warnings
np.warnings = warnings
from copy import deepcopy

import pyBigWig
Expand Down
2 changes: 2 additions & 0 deletions deeptools/heatmapper_utilities.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import numpy as np
import warnings
np.warnings = warnings
import matplotlib
matplotlib.use('Agg')
matplotlib.rcParams['pdf.fonttype'] = 42
Expand Down
2 changes: 2 additions & 0 deletions deeptools/multiBamSummary.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import sys
import argparse
import numpy as np
import warnings
np.warnings = warnings

import deeptools.countReadsPerBin as countR
from deeptools import parserCommon
Expand Down
2 changes: 2 additions & 0 deletions deeptools/multiBigwigSummary.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import argparse
import os.path
import numpy as np
import warnings
np.warnings = warnings
from deeptools import parserCommon
from deeptools.utilities import smartLabels
import deeptools.getScorePerBigWigBin as score_bw
Expand Down
2 changes: 2 additions & 0 deletions deeptools/plotCorrelation.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import sys
import argparse
import numpy as np
import warnings
np.warnings = warnings
import matplotlib
matplotlib.use('Agg')
matplotlib.rcParams['pdf.fonttype'] = 42
Expand Down
2 changes: 2 additions & 0 deletions deeptools/plotCoverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import sys
import argparse
import numpy as np
import warnings
np.warnings = warnings

import matplotlib
matplotlib.use('Agg')
Expand Down
2 changes: 2 additions & 0 deletions deeptools/plotEnrichment.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import sys
import argparse
import numpy as np
import warnings
np.warnings = warnings
import matplotlib
matplotlib.use('Agg')
matplotlib.rcParams['pdf.fonttype'] = 42
Expand Down
2 changes: 2 additions & 0 deletions deeptools/plotFingerprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# -*- coding: utf-8 -*-

import numpy as np
import warnings
np.warnings = warnings
import argparse
import sys
import matplotlib
Expand Down
2 changes: 2 additions & 0 deletions deeptools/plotHeatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import argparse
from collections import OrderedDict
import numpy as np
import warnings
np.warnings = warnings
import matplotlib
matplotlib.use('Agg')
matplotlib.rcParams['pdf.fonttype'] = 42
Expand Down
2 changes: 2 additions & 0 deletions deeptools/plotProfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

import argparse
import numpy as np
import warnings
np.warnings = warnings
from math import ceil
import matplotlib
matplotlib.use('Agg')
Expand Down
2 changes: 2 additions & 0 deletions deeptools/sumCoveragePerBin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import numpy as np
import warnings
np.warnings = warnings
import multiprocessing
import time

Expand Down
2 changes: 2 additions & 0 deletions deeptools/test/test_bigwigCompare_and_multiBigwigSummary.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import deeptools.bigwigCompare as bwComp
import deeptools.multiBigwigSummary as bwCorr
import numpy as np
import warnings
np.warnings = warnings
import numpy.testing as nt

import os.path
Expand Down
2 changes: 2 additions & 0 deletions deeptools/test/test_countReadsPerBin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import deeptools.countReadsPerBin as cr
import numpy as np
import warnings
np.warnings = warnings
import numpy.testing as nt
import os.path
import pytest
Expand Down
2 changes: 2 additions & 0 deletions deeptools/test/test_multiBamSummary.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import deeptools.multiBamSummary as mbs
import numpy as np
import warnings
np.warnings = warnings
import numpy.testing as nt

import os.path
Expand Down
2 changes: 2 additions & 0 deletions deeptools/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
mpl.use('Agg')
from deeptools import cm # noqa: F401
import numpy as np
import warnings
np.warnings = warnings


debug = 0
Expand Down
2 changes: 2 additions & 0 deletions deeptools/writeBedGraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import sys
import shutil
import numpy as np
import warnings
np.warnings = warnings
import pyBigWig

# own modules
Expand Down
2 changes: 2 additions & 0 deletions deeptools/writeBedGraph_bam_and_bw.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import shutil
import tempfile
import numpy as np
import warnings
np.warnings = warnings
import sys

# NGS packages
Expand Down