This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
... | |
upstream reports { | |
server localhost:9001; | |
} | |
... | |
server { | |
... | |
location ^~ /reports/ { | |
proxy_pass http://reports; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo Values are ${@:2} > $1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo Values are $1 $2 > $3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<command interpreter="bash">trimmomatic.sh | |
-mx8G | |
-jar \$TRIMMOMATIC_DIR/trimmomatic-0.32.jar | |
#if $paired_end.is_paired_end | |
PE -threads \${GALAXY_SLOTS:-6} -phred33 $fastq_r1_in $paired_end.fastq_r2_in $fastq_out_r1_paired $fastq_out_r1_unpaired $fastq_out_r2_paired $fastq_out_r2_unpaired | |
#else | |
SE -threads \${GALAXY_SLOTS:-6} -phred33 $fastq_in $fastq_out | |
#end if | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<destinations default="dynamic"> | |
... | |
<!-- DRMAA runner for job using 4 cores --> | |
<destination id="sge_smp_4" runner="drmaa"> | |
<param id="nativeSpecification">-R y -V -j n -pe smp.pe 4</param> | |
</destination> | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python | |
# | |
# Check exon coverage in a GTF file | |
# Peter Briggs UoM, March 2015 | |
# | |
# Purpose | |
# ------- | |
# Given a GTF file, check that for each exon entry the | |
# associated features 'CDS', 'stop_codon' and 'start_codon' | |
# are consistent and specify the same range of bases as |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ServerName "Galaxy FTP File Upload" | |
ServerType standalone | |
DefaultServer on | |
PidFile /var/run/proftpd/proftpd-galaxy.pid | |
# Port 21 is the standard FTP port. | |
Port 21 | |
# Don't use IPv6 support by default. | |
UseIPv6 off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python | |
# | |
# Open multiple arbitrary URLs in a webbrowser | |
import optparse | |
import webbrowser | |
import time | |
import sys | |
if __name__ == '__main__': | |
p = optparse.OptionParser(usage="%prog [-f FILE] [-b BROWSER] [-p INTERVAL] " | |
"[URL [URL,...]]", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compare effects of using different sort keys | |
import os | |
import locale | |
import re | |
class SortKeys: | |
natural_sort_digits = re.compile(r'(\d+)') | |
@classmethod | |
def default(self,filename): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
if [ -z "$1" ] || [ -z "$2" ] ; then | |
echo "Usage: $0 IN.rtf OUT.fasta" | |
exit 1 | |
fi | |
if [ ! -e "$1" ] ; then | |
echo "Input file $1 not found" | |
exit 1 | |
fi |