comparison fimo_wrapper.py @ 1:a64feed0d508 draft

Uploaded
author greg
date Thu, 14 Apr 2016 09:47:22 -0400
parents 09098f34f445
children 97fb2d36c482
comparison
equal deleted inserted replaced
0:09098f34f445 1:a64feed0d508
128 if returncode != 0: 128 if returncode != 0:
129 stderr = get_stderr(tmp_stderr) 129 stderr = get_stderr(tmp_stderr)
130 stop_err(stderr) 130 stop_err(stderr)
131 # Sort by chromosome id, identifying and eliminating identical 131 # Sort by chromosome id, identifying and eliminating identical
132 # motif occurrences. 132 # motif occurrences.
133 cmd = 'sort -k1,1 -u -o %s %s' % (gff_file, gff_file) 133 cmd = 'sort -k1,1 -o %s %s' % (gff_file, gff_file)
134 proc = subprocess.Popen(args=cmd, stderr=tmp_stderr, shell=True) 134 proc = subprocess.Popen(args=cmd, stderr=tmp_stderr, shell=True)
135 returncode = proc.wait() 135 returncode = proc.wait()
136 if returncode != 0: 136 if returncode != 0:
137 stderr = get_stderr(tmp_stderr) 137 stderr = get_stderr(tmp_stderr)
138 stop_err(stderr) 138 stop_err(stderr)