Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
Fixed ChIP-seq Python Package ImportError #374
Browse files Browse the repository at this point in the history
  • Loading branch information
skchronicles committed Nov 27, 2018
1 parent 3406443 commit 477aece
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Rules/ChIPseq.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,15 @@ from os.path import join, abspath, basename
from os import environ as env
from io import StringIO
from tempfile import TemporaryFile

from pysam import Samfile, FastaFile
from collections import Counter

# pipehome = os.getenv('pipehome', '/data/CCBR/projects/TechDev/Pipeliner')
#pipehome = '/home/kopardevn/Pipeliner/'
bam_dir='bam'

def normalize_bam_file_chromosomes(
bamfns,
obamfns=[],
suffix='.common_chrom.bam' ) :

def normalize_bam_file_chromosomes(bamfns, obamfns=[], suffix='.common_chrom.bam'):
from pysam import Samfile, FastaFile

counts = []
for bamfn1 in bamfns :
bam1 = Samfile(bamfn1)
Expand Down

0 comments on commit 477aece

Please sign in to comment.