venv/bin/activate: line 57: PS1: unbound variable
# unset PYTHONHOME if set
> if ! [ -z "${PYTHONHOME+_}" ] ; then
> _OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME"
> unset PYTHONHOME
> fi
> if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then
> _OLD_VIRTUAL_PS1="$PS1"
> if [ "x" != x ] ; then
> PS1="$PS1"
> else
> PS1="(`basename \"$VIRTUAL_ENV\"`) $PS1"
> fi
> export PS1
> fi
configfile: "config.yaml"
#ALGO, = glob_wildcards("../pandatest/subset_test_fasta2/algo_used_{algo}.txt")
ALGO = ['ea_util']
#SAMP, = glob_wildcards("../test_fastq_subset/{sample}_R1_subset.fastq")
SAMP = ['2-D10_S142_L001']
rule cluster_uclust:
input:
'sample.fasta'
output:
expand("{algo}_uclust_otus/otu_table.biom", algo = ALGO),
expand('{algo}_uclust_otus/pynast_aligned_seqs/{sample}_pandaseq_rep_set_aligned.fasta', algo = ALGO, sample = SAMP),
expand('{algo}_uclust_otus/pynast_aligned_seqs/{sample}_pandaseq_rep_set_aligned_pfiltered.fasta', algo = ALGO, sample = SAMP),
expand('{algo}_uclust_otus/pynast_aligned_seqs/{sample}_pandaseq_rep_set_failures.fasta', algo = ALGO, sample = SAMP),
expand('{algo}_uclust_otus/pynast_aligned_seqs/{sample}_pandaseq_rep_set_log.txt', algo = ALGO, sample = SAMP),
expand('{algo}_uclust_otus/rep_set/{sample}_pandaseq_rep_set.fasta', algo = ALGO, sample = SAMP),
expand('{algo}_uclust_otus/rep_set/{sample}_pandaseq_rep_set.log', algo = ALGO, sample = SAMP),
expand('{algo}_uclust_otus/rep_set.tre', algo = ALGO),
expand('{algo}_uclust_otus/uclust_assigned_taxonomy/{sample}_pandaseq_rep_set_tax_assignments.log', algo = ALGO, sample = SAMP),
expand('{algo}_uclust_otus/uclust_assigned_taxonomy/{sample}_pandaseq_rep_set_tax_assignments.txt', algo = ALGO, sample = SAMP),
expand('{algo}_uclust_otus/uclust_picked_otus/{sample}_pandaseq_clusters.uc', algo = ALGO, sample = SAMP),
expand('{algo}_uclust_otus/uclust_picked_otus/{sample}_pandaseq_otus.log', algo = ALGO, sample = SAMP),
expand('{algo}_uclust_otus/uclust_picked_otus/{sample}_pandaseq_otus.txt', algo = ALGO, sample = SAMP)
shell:
"""
source venv/bin/activate
pick_de_novo_otus.py -i {input} -o {output}_uclust_otus/
"""
Error processing line 1 of /cbcb/sw/RedHat-7-x86_64/common/local/pythonext/2.7.9/lib/python2.7/site-packages/matplotlib-1.4.3-py2.7-nspkg.pth:Failed to import the site moduleTraceback (most recent call last):File "/cbcb/project2-scratch/nolson/miniconda2/envs/snakeenv/lib/python3.5/site.py", line 167, in addpackageexec(line)File "<string>", line 1, in <module>File "/cbcb/project2-scratch/nolson/miniconda2/envs/snakeenv/lib/python3.5/types.py", line 166, in <module>import functools as _functoolsFile "/cbcb/project2-scratch/nolson/miniconda2/envs/snakeenv/lib/python3.5/functools.py", line 21, in <module>from collections import namedtupleFile "/cbcb/project2-scratch/nolson/miniconda2/envs/snakeenv/lib/python3.5/collections/__init__.py", line 16, in <module>from reprlib import recursive_repr as _recursive_reprFile "/cbcb/sw/RedHat-7-x86_64/common/local/pythonext/2.7.9/lib/python2.7/site-packages/reprlib/__init__.py", line 7, in <module>raise ImportError('This package should not be accessible on Python 3. 'ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.During handling of the above exception, another exception occurred:Traceback (most recent call last):File "/cbcb/sw/RedHat-7-x86_64/common/local/pythonext/2.7.9/lib/python2.7/site-packages/site.py", line 74, in <module>__boot()File "/cbcb/sw/RedHat-7-x86_64/common/local/pythonext/2.7.9/lib/python2.7/site-packages/site.py", line 49, in __bootaddsitedir(item)File "/cbcb/project2-scratch/nolson/miniconda2/envs/snakeenv/lib/python3.5/site.py", line 206, in addsitediraddpackage(sitedir, name, known_paths)File "/cbcb/project2-scratch/nolson/miniconda2/envs/snakeenv/lib/python3.5/site.py", line 177, in addpackageimport tracebackFile "/cbcb/project2-scratch/nolson/miniconda2/envs/snakeenv/lib/python3.5/traceback.py", line 3, in <module>import collectionsFile "/cbcb/project2-scratch/nolson/miniconda2/envs/snakeenv/lib/python3.5/collections/__init__.py", line 16, in <module>from reprlib import recursive_repr as _recursive_reprFile "/cbcb/sw/RedHat-7-x86_64/common/local/pythonext/2.7.9/lib/python2.7/site-packages/reprlib/__init__.py", line 7, in <module>raise ImportError('This package should not be accessible on Python 3. 'ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.