Hi Tony,
Ok, I think that worked for the test_identify_chimeric...::, thanks!
A couple of lines from rep_set_aligned.fasta:
>0 MP_3854 1..434
--------------------------------------------A-GCA--TA-TG-CT--TGTCTC-AAAG-ATTAAGCCATGCATGTCTAAA-GT-----------A-TAA--C-CA-A---------------------------------------------------------------------------CATTAT-AC-----------------------------------------------------------------------T-G----G--GA------AA-CTGCGTACAGCTCATTATATCAGTAATT-ATTTATTTGATG-G-T-A----------------CCTTAC----------TA-CA-TGGATAACCGTAGTAATTCTAGAG-CTAATACATGC--G----TAA-AA--TCC--C---G--------------A--C--T-----------------------------G-CA-A--------------------------GG---------------AA----GGGA-T-GTATTTATTAG-ATA---AAA-AAT-CAATG-------C-AG----------------------T-
Result of test_identify_chimeric_seqs.py
MacQIIME igskdghwwsqiime:pynast_aligned $ python /macqiime/QIIME/tests/test_identify_chimeric_seqs.py
E..EE...........EE.EEEE
======================================================================
ERROR: test_call (__main__.BlastFragmentsChimeraCheckerTests)
BlastFragmentsChimeraChecker: correct assignments on known results
----------------------------------------------------------------------
Traceback (most recent call last):
File "/macqiime/QIIME/tests/test_identify_chimeric_seqs.py", line 241, in test_call
actual = list(self.bcc(self.input_seqs_fp))
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 248, in getResult
[self._get_taxonomy(fragment) for fragment in fragments]
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 311, in _get_taxonomy
r = self._taxon_assigner(seqs=[('fragment',fragment)])['fragment']
File "/macqiime/lib/python2.7/site-packages/qiime/assign_taxonomy.py", line 206, in __call__
current_seqs,blast_db,id_to_taxonomy_map))
File "/macqiime/lib/python2.7/site-packages/qiime/assign_taxonomy.py", line 249, in _seqs_to_taxonomy
blast_hits = self._get_blast_hits(blast_db,seqs)
File "/macqiime/lib/python2.7/site-packages/qiime/assign_taxonomy.py", line 297, in _get_blast_hits
add_seq_names=False)
File "/macqiime/lib/python2.7/site-packages/cogent/app/blast.py", line 665, in blast_seqs
HALT_EXEC=HALT_EXEC)
File "/macqiime/lib/python2.7/site-packages/cogent/app/blast.py", line 402, in __init__
HALT_EXEC=HALT_EXEC)
File "/macqiime/lib/python2.7/site-packages/cogent/app/blast.py", line 167, in __init__
raise RuntimeError, blastmat_error_message
RuntimeError: BLAST cannot run if the BLASTMAT environment variable is not set.
Usually, the BLASTMAT environment variable points to the NCBI data directory,
which contains matrices like PAM30 and PAM70, etc.
Alternatively, you may create a .ncbirc file to define these variables.
From help file:
2) Create a .ncbirc file. In order for Standalone BLAST to operate, you
have will need to have a .ncbirc file that contains the following lines:
[NCBI]
Data="path/data/"
Where "path/data/" is the path to the location of the Standalone BLAST
"data" subdirectory. For Example:
Data=/root/blast/data
The data subdirectory should automatically appear in the directory where
the downloaded file was extracted. Please note that in many cases it may
be necessary to delimit the entire path including the machine name and
or the net work you are located on. Your systems administrator can help
you if you do not know the entire path to the data subdirectory.
Make sure that your .ncbirc file is either in the directory that you
call the Standalone BLAST program from or in your root directory.
======================================================================
ERROR: test_function_w_preexisting_blastdb (__main__.BlastFragmentsChimeraCheckerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/macqiime/QIIME/tests/test_identify_chimeric_seqs.py", line 95, in test_function_w_preexisting_blastdb
actual = list(self.bcc(self.input_seqs_fp))
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 248, in getResult
[self._get_taxonomy(fragment) for fragment in fragments]
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 311, in _get_taxonomy
r = self._taxon_assigner(seqs=[('fragment',fragment)])['fragment']
File "/macqiime/lib/python2.7/site-packages/qiime/assign_taxonomy.py", line 206, in __call__
current_seqs,blast_db,id_to_taxonomy_map))
File "/macqiime/lib/python2.7/site-packages/qiime/assign_taxonomy.py", line 249, in _seqs_to_taxonomy
blast_hits = self._get_blast_hits(blast_db,seqs)
File "/macqiime/lib/python2.7/site-packages/qiime/assign_taxonomy.py", line 297, in _get_blast_hits
add_seq_names=False)
File "/macqiime/lib/python2.7/site-packages/cogent/app/blast.py", line 665, in blast_seqs
HALT_EXEC=HALT_EXEC)
File "/macqiime/lib/python2.7/site-packages/cogent/app/blast.py", line 402, in __init__
HALT_EXEC=HALT_EXEC)
File "/macqiime/lib/python2.7/site-packages/cogent/app/blast.py", line 167, in __init__
raise RuntimeError, blastmat_error_message
RuntimeError: BLAST cannot run if the BLASTMAT environment variable is not set.
Usually, the BLASTMAT environment variable points to the NCBI data directory,
which contains matrices like PAM30 and PAM70, etc.
Alternatively, you may create a .ncbirc file to define these variables.
From help file:
2) Create a .ncbirc file. In order for Standalone BLAST to operate, you
have will need to have a .ncbirc file that contains the following lines:
[NCBI]
Data="path/data/"
Where "path/data/" is the path to the location of the Standalone BLAST
"data" subdirectory. For Example:
Data=/root/blast/data
The data subdirectory should automatically appear in the directory where
the downloaded file was extracted. Please note that in many cases it may
be necessary to delimit the entire path including the machine name and
or the net work you are located on. Your systems administrator can help
you if you do not know the entire path to the data subdirectory.
Make sure that your .ncbirc file is either in the directory that you
call the Standalone BLAST program from or in your root directory.
======================================================================
ERROR: test_get_taxonomy (__main__.BlastFragmentsChimeraCheckerTests)
BlastFragmentsChimeraChecker: getTaxonomy functions with full-length sequence
----------------------------------------------------------------------
Traceback (most recent call last):
File "/macqiime/QIIME/tests/test_identify_chimeric_seqs.py", line 229, in test_get_taxonomy
actual = self.bcc._get_taxonomy(str(s1))
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 311, in _get_taxonomy
r = self._taxon_assigner(seqs=[('fragment',fragment)])['fragment']
File "/macqiime/lib/python2.7/site-packages/qiime/assign_taxonomy.py", line 206, in __call__
current_seqs,blast_db,id_to_taxonomy_map))
File "/macqiime/lib/python2.7/site-packages/qiime/assign_taxonomy.py", line 249, in _seqs_to_taxonomy
blast_hits = self._get_blast_hits(blast_db,seqs)
File "/macqiime/lib/python2.7/site-packages/qiime/assign_taxonomy.py", line 297, in _get_blast_hits
add_seq_names=False)
File "/macqiime/lib/python2.7/site-packages/cogent/app/blast.py", line 665, in blast_seqs
HALT_EXEC=HALT_EXEC)
File "/macqiime/lib/python2.7/site-packages/cogent/app/blast.py", line 402, in __init__
HALT_EXEC=HALT_EXEC)
File "/macqiime/lib/python2.7/site-packages/cogent/app/blast.py", line 167, in __init__
raise RuntimeError, blastmat_error_message
RuntimeError: BLAST cannot run if the BLASTMAT environment variable is not set.
Usually, the BLASTMAT environment variable points to the NCBI data directory,
which contains matrices like PAM30 and PAM70, etc.
Alternatively, you may create a .ncbirc file to define these variables.
From help file:
2) Create a .ncbirc file. In order for Standalone BLAST to operate, you
have will need to have a .ncbirc file that contains the following lines:
[NCBI]
Data="path/data/"
Where "path/data/" is the path to the location of the Standalone BLAST
"data" subdirectory. For Example:
Data=/root/blast/data
The data subdirectory should automatically appear in the directory where
the downloaded file was extracted. Please note that in many cases it may
be necessary to delimit the entire path including the machine name and
or the net work you are located on. Your systems administrator can help
you if you do not know the entire path to the data subdirectory.
Make sure that your .ncbirc file is either in the directory that you
call the Standalone BLAST program from or in your root directory.
======================================================================
ERROR: test_identify_chimeras_usearch61_intersection (__main__.Usearch61Tests)
Properly returns intersection results
----------------------------------------------------------------------
Traceback (most recent call last):
File "/macqiime/QIIME/tests/test_identify_chimeric_seqs.py", line 615, in test_identify_chimeras_usearch61_intersection
log_lines = log_lines)
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 865, in identify_chimeras_usearch61
consout_filepath=output_consensus_fp)
File "/macqiime/lib/python2.7/site-packages/qiime/pycogent_backports/usearch.py", line 2243, in usearch61_smallmem_cluster
app = Usearch61(params, WorkingDir=output_dir, HALT_EXEC=HALT_EXEC)
File "/macqiime/lib/python2.7/site-packages/cogent/app/util.py", line 165, in __init__
self._error_on_missing_application(params)
File "/macqiime/lib/python2.7/site-packages/cogent/app/util.py", line 434, in _error_on_missing_application
% command
ApplicationNotFoundError: Cannot find usearch61. Is it installed? Is it in your path?
======================================================================
ERROR: test_identify_chimeras_usearch61_union (__main__.Usearch61Tests)
Properly returns union results
----------------------------------------------------------------------
Traceback (most recent call last):
File "/macqiime/QIIME/tests/test_identify_chimeric_seqs.py", line 587, in test_identify_chimeras_usearch61_union
log_lines = log_lines)
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 865, in identify_chimeras_usearch61
consout_filepath=output_consensus_fp)
File "/macqiime/lib/python2.7/site-packages/qiime/pycogent_backports/usearch.py", line 2243, in usearch61_smallmem_cluster
app = Usearch61(params, WorkingDir=output_dir, HALT_EXEC=HALT_EXEC)
File "/macqiime/lib/python2.7/site-packages/cogent/app/util.py", line 165, in __init__
self._error_on_missing_application(params)
File "/macqiime/lib/python2.7/site-packages/cogent/app/util.py", line 434, in _error_on_missing_application
% command
ApplicationNotFoundError: Cannot find usearch61. Is it installed? Is it in your path?
======================================================================
ERROR: test_usearch61_chimera_check (__main__.Usearch61Tests)
Overall usearch61 functionality test with default params
----------------------------------------------------------------------
Traceback (most recent call last):
File "/macqiime/QIIME/tests/test_identify_chimeric_seqs.py", line 473, in test_usearch61_chimera_check
self.ref_seqs_fp)
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 750, in usearch61_chimera_check
log_lines, verbose)
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 865, in identify_chimeras_usearch61
consout_filepath=output_consensus_fp)
File "/macqiime/lib/python2.7/site-packages/qiime/pycogent_backports/usearch.py", line 2243, in usearch61_smallmem_cluster
app = Usearch61(params, WorkingDir=output_dir, HALT_EXEC=HALT_EXEC)
File "/macqiime/lib/python2.7/site-packages/cogent/app/util.py", line 165, in __init__
self._error_on_missing_application(params)
File "/macqiime/lib/python2.7/site-packages/cogent/app/util.py", line 434, in _error_on_missing_application
% command
ApplicationNotFoundError: Cannot find usearch61. Is it installed? Is it in your path?
======================================================================
ERROR: test_usearch61_chimera_check_no_denovo (__main__.Usearch61Tests)
Overall usearch61 functionality test, no denovo detection
----------------------------------------------------------------------
Traceback (most recent call last):
File "/macqiime/QIIME/tests/test_identify_chimeric_seqs.py", line 500, in test_usearch61_chimera_check_no_denovo
suppress_usearch61_denovo=True)
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 750, in usearch61_chimera_check
log_lines, verbose)
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 865, in identify_chimeras_usearch61
consout_filepath=output_consensus_fp)
File "/macqiime/lib/python2.7/site-packages/qiime/pycogent_backports/usearch.py", line 2243, in usearch61_smallmem_cluster
app = Usearch61(params, WorkingDir=output_dir, HALT_EXEC=HALT_EXEC)
File "/macqiime/lib/python2.7/site-packages/cogent/app/util.py", line 165, in __init__
self._error_on_missing_application(params)
File "/macqiime/lib/python2.7/site-packages/cogent/app/util.py", line 434, in _error_on_missing_application
% command
ApplicationNotFoundError: Cannot find usearch61. Is it installed? Is it in your path?
======================================================================
ERROR: test_usearch61_chimera_check_no_ref (__main__.Usearch61Tests)
Overall usearch61 functionality test, no ref detection
----------------------------------------------------------------------
Traceback (most recent call last):
File "/macqiime/QIIME/tests/test_identify_chimeric_seqs.py", line 526, in test_usearch61_chimera_check_no_ref
suppress_usearch61_ref=True)
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 750, in usearch61_chimera_check
log_lines, verbose)
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 865, in identify_chimeras_usearch61
consout_filepath=output_consensus_fp)
File "/macqiime/lib/python2.7/site-packages/qiime/pycogent_backports/usearch.py", line 2243, in usearch61_smallmem_cluster
app = Usearch61(params, WorkingDir=output_dir, HALT_EXEC=HALT_EXEC)
File "/macqiime/lib/python2.7/site-packages/cogent/app/util.py", line 165, in __init__
self._error_on_missing_application(params)
File "/macqiime/lib/python2.7/site-packages/cogent/app/util.py", line 434, in _error_on_missing_application
% command
ApplicationNotFoundError: Cannot find usearch61. Is it installed? Is it in your path?
======================================================================
ERROR: test_usearch61_chimera_check_split_on_id (__main__.Usearch61Tests)
Overall usearch61 functionality test, splits on SampleID
----------------------------------------------------------------------
Traceback (most recent call last):
File "/macqiime/QIIME/tests/test_identify_chimeric_seqs.py", line 553, in test_usearch61_chimera_check_split_on_id
split_by_sampleid = True)
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 735, in usearch61_chimera_check
log_lines, verbose)
File "/macqiime/lib/python2.7/site-packages/qiime/identify_chimeric_seqs.py", line 865, in identify_chimeras_usearch61
consout_filepath=output_consensus_fp)
File "/macqiime/lib/python2.7/site-packages/qiime/pycogent_backports/usearch.py", line 2243, in usearch61_smallmem_cluster
app = Usearch61(params, WorkingDir=output_dir, HALT_EXEC=HALT_EXEC)
File "/macqiime/lib/python2.7/site-packages/cogent/app/util.py", line 165, in __init__
self._error_on_missing_application(params)
File "/macqiime/lib/python2.7/site-packages/cogent/app/util.py", line 434, in _error_on_missing_application
% command
ApplicationNotFoundError: Cannot find usearch61. Is it installed? Is it in your path?
----------------------------------------------------------------------
Ran 23 tests in 71.915s
FAILED (errors=9)