-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No such file or directory error #67
Comments
I think the .res is missing. Try: |
Thanks that did the trick. But I ran into a different issue:
|
You probably need to update your local ETE3 database, which contains the taxids and lineage information:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Script
db="ncbi_nt/ncbi_nt"
kma -ipe A16_S5_3_F22_S139_R1_001.atria.fastq.gz A16_S5_3_F22_S139_R2_001.atria.fastq.gz -o A16_S5_3_F22_S139_out_kma -t_db $db -t 20 -1t1 -mem_mode -and -apm f
List files
(ccmetagen) [jus1990@p-sc-2393 ccmetagen]$ ls
A16_S5_3_F22_S139_out_kma.aln
A16_S5_3_F22_S139_out_kma.fsa
A16_S5_3_F22_S139_R1_001.atria.fastq.gz
A16_S5_3_F22_S139_R2_001.atria.fastq.gz
merged.tab
syn.tab
taxdump.tar.gz
A16_S5_3_F22_S139_out_kma.frag.gz
A16_S5_3_F22_S139_out_kma.res
ncbi_nt
taxa.tab
run CCMetagen.py
(ccmetagen) [jus1990@p-sc-2393 ccmetagen]$ CCMetagen.py -i A16_S5_3_F22_S139_out_kma -o results
Reading file A16_S5_3_F22_S139_out_kma
Traceback (most recent call last):
File "/storage/home/jus1990/work/miniconda3/envs/ccmetagen/bin/CCMetagen.py", line 211, in
df = pd.read_csv(f, sep='\t', index_col=0, encoding='latin1')
File "/storage/home/jus1990/work/miniconda3/envs/ccmetagen/lib/python3.6/site-packages/pandas/io/parsers.py", line 688, in read_csv
return _read(filepath_or_buffer, kwds)
File "/storage/home/jus1990/work/miniconda3/envs/ccmetagen/lib/python3.6/site-packages/pandas/io/parsers.py", line 454, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "/storage/home/jus1990/work/miniconda3/envs/ccmetagen/lib/python3.6/site-packages/pandas/io/parsers.py", line 948, in init
self._make_engine(self.engine)
File "/storage/home/jus1990/work/miniconda3/envs/ccmetagen/lib/python3.6/site-packages/pandas/io/parsers.py", line 1180, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/storage/home/jus1990/work/miniconda3/envs/ccmetagen/lib/python3.6/site-packages/pandas/io/parsers.py", line 1993, in init
src = open(src, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'A16_S5_3_F22_S139_out_kma' <<<<<<<<<<<<<<<<<<<<<
The text was updated successfully, but these errors were encountered: