Mercurial > repos > hepcat72 > lumpyexpress
comparison lumpy_wrapper.tcsh @ 7:f82a18f7a946 draft
planemo upload for repository https://github.com/hepcat72/robs_galaxy_tools/tree/master/tools/lumpyexpress commit 742dbf78a7c630bab88120e97f548a83baea39d7
author | hepcat72 |
---|---|
date | Fri, 26 Oct 2018 10:38:30 -0400 |
parents | ea7edefc72c3 |
children | 007ad934287e |
comparison
equal
deleted
inserted
replaced
6:d918a7f05d27 | 7:f82a18f7a946 |
---|---|
30 setenv LUMPYDIR `dirname $LUMPYEXPRESSLOC` | 30 setenv LUMPYDIR `dirname $LUMPYEXPRESSLOC` |
31 setenv LUMPYCONFIG lumpyexpress.config | 31 setenv LUMPYCONFIG lumpyexpress.config |
32 setenv DISTROSCPT pairend_distro.py | 32 setenv DISTROSCPT pairend_distro.py |
33 setenv DISTROLOC `which $LUMPYDIR/../*/*/*/$DISTROSCPT` | 33 setenv DISTROLOC `which $LUMPYDIR/../*/*/*/$DISTROSCPT` |
34 perl -e 'while(<STDIN>){s/min_elements = 10+/min_elements = 1/;print}' < $DISTROLOC > ./$DISTROSCPT | 34 perl -e 'while(<STDIN>){s/min_elements = 10+/min_elements = 1/;print}' < $DISTROLOC > ./$DISTROSCPT |
35 perl -e 'while(<STDIN>){s/PAIREND_DISTRO=.*/PAIREND_DISTRO=$ARGV[0]/;print}' ./$DISTROSCPT < $LUMPYDIR/$LUMPYCONFIG > ./$LUMPYCONFIG | 35 perl -e 'while(<STDIN>){s/PAIREND_DISTRO=.*/PAIREND_DISTRO=$ARGV[0]/;print}' `pwd`/$DISTROSCPT < $LUMPYDIR/$LUMPYCONFIG > ./$LUMPYCONFIG |
36 perl -e 'while(<STDIN>){s/PAIREND_DISTRO=.*/PAIREND_DISTRO=$ARGV[0]/;print}' ./$DISTROSCPT < $LUMPYEXPRESSLOC > ./$LUMPYEXPRESSSCPT | |
37 chmod 555 ./$DISTROSCPT | 36 chmod 555 ./$DISTROSCPT |
38 chmod 555 ./$LUMPYEXPRESSSCPT | |
39 | 37 |
40 foreach b ( $MYARGV ) | 38 foreach b ( $MYARGV ) |
41 | 39 |
42 echo | 40 echo |
43 echo Preparing $b | 41 echo Preparing $b |
137 end | 135 end |
138 | 136 |
139 if ( $PAIREDENDRUN ) then | 137 if ( $PAIREDENDRUN ) then |
140 | 138 |
141 echo | 139 echo |
142 echo "Running: ./$LUMPYEXPRESSSCPT -B $BAMS -S $SPLTS -D $DSCDS -o $OUTVCF" | 140 echo "Running: $LUMPYEXPRESSSCPT -K `pwd`/$LUMPYCONFIG -B $BAMS -S $SPLTS -D $DSCDS -o $OUTVCF" |
143 ./$LUMPYEXPRESSSCPT -B $BAMS -S $SPLTS -D $DSCDS -o $OUTVCF | 141 $LUMPYEXPRESSSCPT -K `pwd`/$LUMPYCONFIG -B $BAMS -S $SPLTS -D $DSCDS -o $OUTVCF |
144 | 142 |
145 if ( $status ) then | 143 if ( $status ) then |
146 echo "lumpyexpress failed" | 144 echo "lumpyexpress failed" |
147 exit 9 | 145 exit 9 |
148 endif | 146 endif |