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 | |
#SBATCH -t 24:00:00 | |
#SBATCH -N 1 | |
#SBATCH -n 1 | |
#SBATCH --array 1-97 | |
cd /home/mcdonadt/agp_demux_barcode_assessment-8.4.21 | |
source activate qiime2-2020.11 | |
export TMPDIR=/panfs/dtmcdonald/ | |
python processor.py demux.details $SLURM_ARRAY_TASK_ID |
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
import qiime2 | |
import pandas as pd | |
import glob | |
from collections import defaultdict | |
import sys | |
import time, os | |
details = [l.strip() for l in open(sys.argv[1])] | |
f = details[int(sys.argv[2]) - 1] |
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 | |
set -e | |
set -x | |
envname=q2deblur_mvp_test | |
executiondir=mvp | |
redeploy=$1 | |
source deactivate |
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
# python 2 | |
# conda install biom-format -c bioconda | |
# conda install matplotlib # pysurvey setup.py is incomplete | |
# pip install -e "hg+https://bitbucket.org/yonatanf/pysurvey#egg=pysurvey" | |
# note: the pysurvey build in pypi does not work. unsure why. | |
import click | |
# this little gem is because pysurvey depends on an older version of scipy | |
# and attempts to import nanmedian from scipy.stats. This is a dirty hack. |
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
import numpy as np | |
import bp | |
import biom | |
import skbio | |
import sys | |
import joblib | |
import h5py | |
class biom_counts_wrapper(object): | |
def __init__(self, table_f): |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] |
NewerOlder