# HG changeset patch # User artbio # Date 1713615232 0 # Node ID bf866bedd4b4b34fc05cf6e5097d86cc3eb5bac3 # Parent 530626b0757c5323083ac7591207ad93607dd8d5 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/repenrich commit 205141a3f695f202d5c3e01e6ab3b2b869fe62b5 diff -r 530626b0757c -r bf866bedd4b4 RepEnrich.py --- 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: diff -r 530626b0757c -r bf866bedd4b4 RepEnrich_setup.py --- a/RepEnrich_setup.py Tue Apr 02 21:16:37 2024 +0000 +++ b/RepEnrich_setup.py Sat Apr 20 12:13:52 2024 +0000 @@ -1,7 +1,6 @@ #!/usr/bin/env python import argparse import csv -import os import shlex import subprocess import sys @@ -48,15 +47,6 @@ genomefasta = args.genomefasta cpus = args.cpus -# check that the programs we need are available -try: - subprocess.call(shlex.split("bowtie --version"), - stdout=open(os.devnull, 'wb'), - stderr=open(os.devnull, 'wb')) -except OSError: - print("Error: Bowtie not available in the path") - raise - def starts_with_numerical(list): try: @@ -115,7 +105,6 @@ block = 3 for i in range(0, len(rep_coords[repname]) - block + 1, block): batch = rep_coords[repname][i:i+block] - print(batch) chromosome = batch[0] start = max(int(batch[1]) - flankingl, 0) end = min(int(batch[2]) + flankingl, diff -r 530626b0757c -r bf866bedd4b4 macros.xml --- a/macros.xml Tue Apr 02 21:16:37 2024 +0000 +++ b/macros.xml Sat Apr 20 12:13:52 2024 +0000 @@ -1,6 +1,6 @@ 2.31.1 - 0 + 1 23.0