# HG changeset patch # User artbio # Date 1542563581 18000 # Node ID d1f7ab78f7b53d7e76adf48d437b1cd4c24f528e # Parent 1c9810ba0638c922dfc07f5efd532ed414ef67d5 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/repenrich commit 2066f507880250c0093e7353e7c18910c002b05f diff -r 1c9810ba0638 -r d1f7ab78f7b5 RepEnrich.py --- a/RepEnrich.py Fri Sep 22 03:19:23 2017 -0400 +++ b/RepEnrich.py Sun Nov 18 12:53:01 2018 -0500 @@ -1,10 +1,7 @@ -#!/usr/bin/env python - import argparse import csv import os import shlex - import shutil import subprocess import sys diff -r 1c9810ba0638 -r d1f7ab78f7b5 repenrich.xml --- a/repenrich.xml Fri Sep 22 03:19:23 2017 -0400 +++ b/repenrich.xml Sun Nov 18 12:53:01 2018 -0500 @@ -1,4 +1,4 @@ - + Repeat Element Profiling bowtie @@ -13,11 +13,25 @@ #import re #set input_base = 'Sample' #set baseReference = 'Genome' + + ## uncompress fastq.gz or fastqsanger.gz if needed + #if $seq_method.seq_method_list == "single-read": + #if $input_fastq.is_of_type("fastq.gz", "fastqsanger.gz"): + gunzip < '$input_fastq' > '${input_base}.fastq' && + #else: + ln -f -s '$input_fastq' '${input_base}.fastq' && + #end if + #else: + #if $input2_fastq.is_of_type("fastq.gz", "fastqsanger.gz"): + gunzip < '$input_fastq' > '${input_base}.fastq' && + gunzip < '$input2_fastq' > '${input_base}_2.fastq' && + #else: + ln -f -s '$input_fastq' '${input_base}.fastq' && + ln -f -s '$input2_fastq' '${input_base}_2.fastq' && + #end if + #end if + ln -f -s '$genome' '${baseReference}.fa' && - ln -f -s '$input_fastq' '${input_base}.fastq' && - #if $seq_method.seq_method_list == "paired-end": - ln -f -s '$input2_fastq' '${input_base}_2.fastq' && - #end if bowtie-build '$genome' ${baseReference} && python $__tool_directory__/RepEnrich_setup.py $repeatmasker ${baseReference}.fa setup_folder_${baseReference} && #if $seq_method.seq_method_list == "single-read": @@ -95,6 +109,27 @@ + + + + + + + + + + + + + + + + + + + + + diff -r 1c9810ba0638 -r d1f7ab78f7b5 test-data/Samp.fastq.gz Binary file test-data/Samp.fastq.gz has changed diff -r 1c9810ba0638 -r d1f7ab78f7b5 test-data/Samp_L.fastq.gz Binary file test-data/Samp_L.fastq.gz has changed diff -r 1c9810ba0638 -r d1f7ab78f7b5 test-data/Samp_R.fastq.gz Binary file test-data/Samp_R.fastq.gz has changed