Previous changeset 13:530626b0757c (2024-04-02) Next changeset 15:2e3d976e7d5d (2024-04-21) |
Commit message:
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/repenrich commit 205141a3f695f202d5c3e01e6ab3b2b869fe62b5 |
modified:
RepEnrich.py RepEnrich_setup.py macros.xml |
b |
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 |
b |
@@ -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: |
b |
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, |
b |
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 |
b |
@@ -1,6 +1,6 @@ <macros> <token name="@TOOL_VERSION@">2.31.1</token> - <token name="@VERSION_SUFFIX@">0</token> + <token name="@VERSION_SUFFIX@">1</token> <token name="@PROFILE@">23.0</token> <xml name="repenrich_requirements"> |