comparison test-data/tool_wrapper.sh @ 0:f6f0f1e5e940 draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/repenrich commit 61e203df0be5ed877ff92b917c7cde6eeeab8310
author artbio
date Wed, 02 Aug 2017 05:17:29 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f6f0f1e5e940
1 input_base=Samp
2 baseReference=chrM
3
4 bowtie-build ${baseReference}.fa ${baseReference}
5
6 python RepEnrich_setup.py ${baseReference}_repeatmasker.txt ${baseReference}.fa \
7 setup_folder_${baseReference}
8
9 bowtie $baseReference -p 16 -t -m 1 -S --max ${input_base}_multimap.fastq \
10 ${input_base}.fastq ${input_base}_unique.sam
11
12 samtools view -bS ${input_base}_unique.sam > ${input_base}_unique.bam
13 samtools sort ${input_base}_unique.bam ${input_base}_unique_sorted
14 mv ${input_base}_unique_sorted.bam ${input_base}_unique.bam
15 samtools index ${input_base}_unique.bam
16 rm ${input_base}_unique.sam
17
18 python RepEnrich.py ${baseReference}_repeatmasker.txt ${input_base} ${input_base} \
19 setup_folder_${baseReference} ${input_base}_multimap.fastq ${input_base}_unique.bam --cpus 16