# HG changeset patch # User artbio # Date 1542578822 18000 # Node ID 02a8941da83b997e8e58b25fa99f50163c788283 # Parent d1f7ab78f7b53d7e76adf48d437b1cd4c24f528e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/repenrich commit 1b8b12d9df3ebb8e36c098e4c2f200b93ed34f10 diff -r d1f7ab78f7b5 -r 02a8941da83b repenrich.xml --- a/repenrich.xml Sun Nov 18 12:53:01 2018 -0500 +++ b/repenrich.xml Sun Nov 18 17:07:02 2018 -0500 @@ -1,4 +1,4 @@ - + Repeat Element Profiling bowtie @@ -16,18 +16,26 @@ ## 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' && + #if $seq_method.input_fastq.is_of_type("fastq.gz", "fastqsanger.gz"): + gunzip < '$seq_method.input_fastq' > '${input_base}.fastq' && #else: - ln -f -s '$input_fastq' '${input_base}.fastq' && + ln -f -s '$seq_method.input_fastq' '${input_base}.fastq' && + #end if + #elif $seq_method.seq_method_list == 'paired_collection': + #if $seq_method.input_fastq.forward.is_of_type("fastq.gz", "fastqsanger.gz"): + gunzip < '$seq_method.input_fastq.forward' > '${input_base}.fastq' && + gunzip < '$seq_method.input_fastq.reverse' > '${input_base}_2.fastq' && + #else: + ln -f -s '$seq_method.input_fastq.forward' '${input_base}.fastq' && + ln -f -s '$seq_method.input_fastq.reverse' '${input_base}_2.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' && + #if $seq_method.input2_fastq.is_of_type("fastq.gz", "fastqsanger.gz"): + gunzip < '$seq_method.input_fastq' > '${input_base}.fastq' && + gunzip < '$seq_method.input2_fastq' > '${input_base}_2.fastq' && #else: - ln -f -s '$input_fastq' '${input_base}.fastq' && - ln -f -s '$input2_fastq' '${input_base}_2.fastq' && + ln -f -s '$seq_method.input_fastq' '${input_base}.fastq' && + ln -f -s '$seq_method.input2_fastq' '${input_base}_2.fastq' && #end if #end if @@ -67,13 +75,17 @@ + - + - - + + + + +