Skip to content

Commit

Permalink
Some cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
snajder-r committed May 16, 2022
1 parent d9f780f commit 4a001d1
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 50 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[![GitHub license](https://img.shields.io/github/license/a-slide/pycoMeth.svg)](https://github.com/a-slide/pycoMeth/blob/master/LICENSE)
[![Language](https://img.shields.io/badge/Language-Python3.7+-yellow.svg)](https://www.python.org/)
[![DOI](https://img.shields.io/badge/DOI-10.1101%2F2022.02.16.480699-red)](https://www.biorxiv.org/content/10.1101/2022.02.16.480699v1)
[![Build Status](https://travis-ci.com/a-slide/pycoMeth.svg?branch=master)](https://travis-ci.com/a-slide/pycoMeth)

[![PyPI version](https://badge.fury.io/py/pycoMeth.svg)](https://badge.fury.io/py/pycoMeth)
[![PyPI downloads](https://pepy.tech/badge/pycoMeth)](https://pepy.tech/project/pycoMeth)
Expand Down
27 changes: 0 additions & 27 deletions deploy_anaconda.sh

This file was deleted.

4 changes: 0 additions & 4 deletions meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,10 @@ test:
imports:
- pycoMeth.FileParser
- pycoMeth.CoordGen
- pycoMeth.CpG_Aggregate
- pycoMeth.Interval_Aggregate
- pycoMeth.Meth_Comp
- pycoMeth.Comp_Report
- pycoMeth.CGI_Finder
commands:
- pycoMeth CpG_Aggregate --help
- pycoMeth Interval_Aggregate --help
- pycoMeth Meth_Comp --help
- pycoMeth Comp_Report --help
- pycoMeth CGI_Finder --help
Expand Down
5 changes: 2 additions & 3 deletions pycoMeth/Meth_Comp.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,18 @@
# Standard library imports
import itertools
import random
from typing import IO, List, Generator, Dict, Any
from typing import IO, List, Dict, Any
from math import sqrt
import fileinput

# Third party imports
import scipy.sparse
from tqdm import tqdm
import numpy as np
import pandas as pd
from scipy.stats import kruskal, mannwhitneyu, wilcoxon, fisher_exact, chi2_contingency
from statsmodels.stats.multitest import multipletests
from multiprocessing import Pool
from meth5.meth5 import MetH5File
from meth5 import MetH5File

# Local imports
from pycoMeth.common import *
Expand Down
11 changes: 2 additions & 9 deletions pycoMeth/Meth_Seg.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
import time
from pathlib import Path
from typing import IO, Iterable, List, Optional
from typing import IO, List
from multiprocessing import Queue, Process
import argparse
import logging

import tqdm
import pandas as pd
import numpy as np
from meth5.meth5 import MetH5File
from meth5 import MetH5File
from meth5.sparse_matrix import SparseMethylationMatrixContainer

from pycoMeth.meth_seg.emissions import BernoulliPosterior
from pycoMeth.meth_seg.hmm import SegmentationHMM
from pycoMeth.meth_seg.postprocessing import cleanup_segmentation
from pycoMeth.meth_seg.segments_csv_io import SegmentsWriterBED, SegmentsWriterBedGraph
from pycoMeth.meth_seg.math import llr_to_p
from pycoMeth.meth_seg.segment import segment


Expand Down
2 changes: 1 addition & 1 deletion pycoMeth/loader.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from meth5.meth5 import MetH5File
from meth5 import MetH5File

from typing import List, Tuple, Dict
from pycoMeth.CoordGen import Coord
Expand Down
1 change: 0 additions & 1 deletion versipy_templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[![GitHub license](https://img.shields.io/github/license/a-slide/pycoMeth.svg)](https://github.com/a-slide/pycoMeth/blob/master/LICENSE)
[![Language](https://img.shields.io/badge/Language-Python3.7+-yellow.svg)](https://www.python.org/)
[![DOI](https://img.shields.io/badge/DOI-10.1101%2F2022.02.16.480699-red)](https://www.biorxiv.org/content/10.1101/2022.02.16.480699v1)
[![Build Status](https://travis-ci.com/a-slide/pycoMeth.svg?branch=master)](https://travis-ci.com/a-slide/pycoMeth)

[![PyPI version](https://badge.fury.io/py/pycoMeth.svg)](https://badge.fury.io/py/pycoMeth)
[![PyPI downloads](https://pepy.tech/badge/pycoMeth)](https://pepy.tech/project/pycoMeth)
Expand Down
4 changes: 0 additions & 4 deletions versipy_templates/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,10 @@ test:
imports:
- pycoMeth.FileParser
- pycoMeth.CoordGen
- pycoMeth.CpG_Aggregate
- pycoMeth.Interval_Aggregate
- pycoMeth.Meth_Comp
- pycoMeth.Comp_Report
- pycoMeth.CGI_Finder
commands:
- pycoMeth CpG_Aggregate --help
- pycoMeth Interval_Aggregate --help
- pycoMeth Meth_Comp --help
- pycoMeth Comp_Report --help
- pycoMeth CGI_Finder --help
Expand Down

0 comments on commit 4a001d1

Please sign in to comment.