This file contains 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
#!/usr/bin/env node | |
/* eslint-disable no-console */ | |
/** | |
* Copyright (c) HashiCorp, Inc. | |
* SPDX-License-Identifier: MPL-2.0 | |
*/ | |
// [2023-09-04] Edited to work with the appdir by @raphaelbadia: | |
// https://gist.github.com/raphaelbadia/1fbc948928378a4ce0e1ce90923263ae |
This file contains 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
/* | |
* Stops touchevent from bubbling up using jQuery | |
*/ | |
$(document).on('touchstart touchmove touchend', function(e) { | |
// Example of a parentSelector | |
// var parentSelector = '#parentElement'; | |
if ($(e.target).closest(parentSelector).length) | |
e.preventDefault(); | |
}); |
This file contains 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
# Load libraries | |
import os, sys, time, re | |
from Bio import SeqIO | |
from itertools import zip_longest | |
# File path | |
currentDir = os.path.dirname(os.path.realpath(__file__)) | |
# Configuration | |
minSeqLength = 80 # Do not include sequences shorter than this |
This file contains 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/bash | |
shopt -s nullglob | |
for fasta in $(find `pwd` -type f -name "*.fa" | sort) | |
do | |
# Create your jobscript here. | |
# And the command you should run in your jobscript: | |
# /path/to/interproscan.sh -i $fasta -dp -iprlookup --goterms --pathways | |
done |
This file contains 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/bash | |
i=1 | |
waitevery=30 | |
mkdir -p out | |
for j in $(find `pwd` -type f -name "*.fa") | |
do | |
echo "Iteration: $i; File: $j" | |
filename=$(basename "$j") |
This file contains 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
#!/usr/bin/env python3 | |
#=====================================================# | |
# Script for exploding FASTA files into individual | |
# FASTA files | |
# | |
# Author: Terry Mun <hello@terrymun.com> | |
# Date: November 9, 2016 | |
#=====================================================# |
This file contains 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
<VirtualHost *:80> | |
# Server config | |
ServerName domain.com | |
DocumentRoot /var/www/html | |
# Allow access to URI space | |
<Directory /var/www/html> | |
Allow from all | |
Options -MultiViews | |
# For Apache >= 2.4 |
This file contains 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
<VirtualHost *:80> | |
# Server config | |
ServerName lotus.au.dk | |
DocumentRoot /var/www/html | |
# Allow access to URI space | |
<Directory /var/www/html> | |
Allow from all | |
Options -MultiViews | |
# For Apache >= 2.4 |
This file contains 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
<VirtualHost *:80> | |
# Server config | |
ServerName domain.com | |
DocumentRoot /var/www/html | |
# Allow access to URI space | |
<Directory /var/www/html> | |
Allow from all | |
Options -MultiViews | |
# For Apache >= 2.4 |
This file contains 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
<div class="m45">m45: 90px tall</div> | |
<div class="m50">m50: 100px tall</div> | |
<div class="m55">m55: 110px tall</div> |
NewerOlder