diff RepEnrich.py @ 14:bf866bedd4b4 draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/repenrich commit 205141a3f695f202d5c3e01e6ab3b2b869fe62b5
author artbio
date Sat, 20 Apr 2024 12:13:52 +0000
parents 530626b0757c
children
line wrap: on
line diff
--- a/RepEnrich.py	Tue Apr 02 21:16:37 2024 +0000
+++ b/RepEnrich.py	Sat Apr 20 12:13:52 2024 +0000
@@ -1,6 +1,5 @@
 import argparse
 import csv
-import os
 import shlex
 import subprocess
 import sys
@@ -46,18 +45,6 @@
 else:
     paired_end = False
 
-# check that the programs we need are available
-try:
-    subprocess.call(shlex.split("coverageBed -h"),
-                    stdout=open(os.devnull, 'wb'),
-                    stderr=open(os.devnull, 'wb'))
-    subprocess.call(shlex.split("bowtie --version"),
-                    stdout=open(os.devnull, 'wb'),
-                    stderr=open(os.devnull, 'wb'))
-except OSError:
-    print("Error: Bowtie or bedtools not loaded")
-    raise
-
 
 def starts_with_numerical(list):
     try: