Skip to content
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

this software had met mistake, i had changed the blastn version, diamond version, how can i solve it ? #65

Open
pl19940314 opened this issue May 9, 2024 · 3 comments

Comments

@pl19940314
Copy link

WARNING: Output folder </home/meta/mdisk/pl/earthworm/megahit/cd-hit/L1HHH0200300/MGE_new> contains <blastout.txt> and/or <.filtered.>, they/it will be overwritten.
[2024-05-09 14:50:21] INFO: Processing </home/meta/mdisk/pl/earthworm/megahit/cd-hit/L1HHH0200300/MGE_new/extracted.fa> ...
[2024-05-09 14:50:21] INFO: Extracting target sequences using BLAST ...
[2024-05-09 14:50:21] INFO: BLAST settings: 1260675 bps, 8355 reads, 10 threads, mt_mode 0.
[2024-05-09 14:50:24] INFO: Merging files ...
Traceback (most recent call last):
File "/home/meta/miniconda3/envs/args_oap/bin/args_oap", line 10, in
sys.exit(main())
^^^^^^
File "/home/meta/miniconda3/envs/args_oap/lib/python3.12/site-packages/args_oap/args_oap.py", line 232, in main
options.func(options)
File "/home/meta/miniconda3/envs/args_oap/lib/python3.12/site-packages/args_oap/stage_two.py", line 213, in run_stage_two
StageTwo(vars(options)).run()
File "/home/meta/miniconda3/envs/args_oap/lib/python3.12/site-packages/args_oap/stage_two.py", line 208, in run
self.merge_files()
File "/home/meta/miniconda3/envs/args_oap/lib/python3.12/site-packages/args_oap/stage_two.py", line 191, in merge_files
out = pd.merge(self.metadata, result, on='sample')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/meta/miniconda3/envs/args_oap/lib/python3.12/site-packages/pandas/core/reshape/merge.py", line 170, in merge
op = _MergeOperation(
^^^^^^^^^^^^^^^^
File "/home/meta/miniconda3/envs/args_oap/lib/python3.12/site-packages/pandas/core/reshape/merge.py", line 794, in init
) = self._get_merge_keys()
^^^^^^^^^^^^^^^^^^^^^^
File "/home/meta/miniconda3/envs/args_oap/lib/python3.12/site-packages/pandas/core/reshape/merge.py", line 1310, in _get_merge_keys
left_keys.append(left._get_label_or_level_values(lk))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/meta/miniconda3/envs/args_oap/lib/python3.12/site-packages/pandas/core/generic.py", line 1911, in _get_label_or_level_values
raise KeyError(key)
KeyError: 'sample'

@xinehc
Copy link
Owner

xinehc commented May 9, 2024

Did you modified the metadata.txt file?

Can you confirm that the first entry of the file is sample using:

grep sample metadata.txt

@pl19940314
Copy link
Author

image

@pl19940314
Copy link
Author

i have rerun the stage_one, after, the stage_two had not make mistake and had sucessfully run again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants