# HG changeset patch # User drosofff # Date 1496188356 14400 # Node ID d359ec9f0fe1eb7c54a8a8a72c8d9299bd4630ac # Parent 1805b262c12de03da500a8fb21f542a5b6c5d6f5 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/repenrich commit 0ec9810f3c05456fa8f19329a56eb1db32e218e5 diff -r 1805b262c12d -r d359ec9f0fe1 edger-repenrich.xml --- a/edger-repenrich.xml Tue May 30 10:34:53 2017 -0400 +++ b/edger-repenrich.xml Tue May 30 19:52:36 2017 -0400 @@ -1,4 +1,4 @@ - + Determines differentially expressed features from RepEnrich counts bioconductor-edger diff -r 1805b262c12d -r d359ec9f0fe1 repenrich.xml --- a/repenrich.xml Tue May 30 10:34:53 2017 -0400 +++ b/repenrich.xml Tue May 30 19:52:36 2017 -0400 @@ -1,4 +1,4 @@ - + Repeat Element Profiling bowtie @@ -11,32 +11,56 @@ bowtie_alignments.txt && - ALIGNED=\$(grep 'reads with at least one' bowtie_alignments.txt | cut -d ' ' -f 9) && - NONALIGNED=\$(grep 'reads that failed to align:' bowtie_alignments.txt | cut -d ' ' -f 7) && - echo \$((\$ALIGNED-\$NONALIGNED)) > bowtie_aligned.numb && + #if $seq_method.seq_method_list == "single-read": + bowtie $baseReference -p \${GALAXY_SLOTS:-4} -t -m 1 -S --max ${input_base}_multimap.fastq ${input_base}.fastq ${input_base}_unique.sam 2>bowtie_alignments.txt && + TOTAL=\$(grep 'reads processed:' bowtie_alignments.txt | cut -d ' ' -f 4) && + NONALIGNED=\$(grep 'reads that failed to align:' bowtie_alignments.txt | cut -d ' ' -f 7) && + echo \$((\$TOTAL-\$NONALIGNED)) > bowtie_aligned.numb && + #else: + bowtie $baseReference -p \${GALAXY_SLOTS:-4} -t -m 1 -S --max ${input_base}_multimap.fastq -1 ${input_base}.fastq -2 ${input_base}_2.fastq ${input_base}_unique.sam 2>bowtie_alignments.txt && + TOTAL=\$(grep 'reads processed:' bowtie_alignments.txt | cut -d ' ' -f 4) && + NONALIGNED=\$(grep 'reads that failed to align:' bowtie_alignments.txt | cut -d ' ' -f 7) && + echo \$((\$TOTAL-\$NONALIGNED)) > bowtie_aligned.numb && + #end if samtools view -bS ${input_base}_unique.sam > ${input_base}_unique.bam && samtools sort ${input_base}_unique.bam ${input_base}_unique_sorted && mv ${input_base}_unique_sorted.bam ${input_base}_unique.bam && samtools index ${input_base}_unique.bam && rm ${input_base}_unique.sam && - python $__tool_directory__/RepEnrich.py $repeatmasker ${input_base} ${input_base} setup_folder_${baseReference} ${input_base}_multimap.fastq ${input_base}_unique.bam --cpus "\${GALAXY_SLOTS:-4}" && + #if $seq_method.seq_method_list == "single-read": + python $__tool_directory__/RepEnrich.py $repeatmasker ${input_base} ${input_base} setup_folder_${baseReference} ${input_base}_multimap.fastq ${input_base}_unique.bam --cpus "\${GALAXY_SLOTS:-4}" && + #else: + python $__tool_directory__/RepEnrich.py $repeatmasker ${input_base} ${input_base} setup_folder_${baseReference} ${input_base}_multimap_1.fastq --fastqfile2 ${input_base}_multimap_2.fastq ${input_base}_unique.bam --cpus "\${GALAXY_SLOTS:-4}" --pairedend TRUE && + #end if cp $input_base/${input_base}_class_fraction_counts.txt class_fraction_counts.tabular && cp $input_base/${input_base}_family_fraction_counts.txt family_fraction_counts.tabular && cp $input_base/${input_base}_fraction_counts.txt fraction_counts.tabular - ]]> + + + + + + + + + + + + + - @@ -49,10 +73,13 @@ - + + + +