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

KeyError: 'species_mixing' #11

Open
Jssmith91 opened this issue Aug 6, 2021 · 0 comments
Open

KeyError: 'species_mixing' #11

Jssmith91 opened this issue Aug 6, 2021 · 0 comments

Comments

@Jssmith91
Copy link

Hi

I am trying to run a test analysis using the file PD212_scifi_1N_4lines_7650_nuclei.bam from the publication data.

Perhaps i am misunderstanding this but i have entered the command below and get this error, not sure what i am missing.

scifi map -c /scifi/config/default.yaml --input-bam-glob PD212_scifi_1N_4lines_7650_nuclei.bam /metadata/sciRNA-seq.PD212_scifi_1N_4lines_7650_nuclei.csv

scifi:pipeline:L141 (main) [INFO] > scifi-RNA-seq pipeline
Traceback (most recent call last):
File "/home/jsmith03/.local/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 3361, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 76, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'species_mixing'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/jsmith03/.local/bin/scifi", line 33, in
sys.exit(load_entry_point('scifi', 'console_scripts', 'scifi')())
File "/data/scratch/DGE/DUDGE/MOPOPGEN/jsmith/scifi/scifiRNA-seq/build/lib/scifi/pipeline.py", line 164, in main
df["species_mixing"].fillna(value=0).astype(bool)
File "/home/jsmith03/.local/lib/python3.8/site-packages/pandas/core/frame.py", line 3455, in getitem
indexer = self.columns.get_loc(key)
File "/home/jsmith03/.local/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 3363, in get_loc
raise KeyError(key) from err
KeyError: 'species_mixing'

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

1 participant