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

No such file or directory in outlier detection #16

Open
christopher-schroeder opened this issue May 31, 2022 · 1 comment
Open

No such file or directory in outlier detection #16

christopher-schroeder opened this issue May 31, 2022 · 1 comment
Assignees

Comments

@christopher-schroeder
Copy link
Contributor

Hello

I call superstr in the following way

superstr-outliers.py --pathogenic -i results/superstr/multiparse/fame_rna --bootstrapCI -is -m results/superstr/manifests/fame_rna.tsv --min_len 30 --max_len 101 > results/superstr/outlier/fame_rna.tsv 2> logs/superstr/outlier/fame_rna.log

and I get an error message:

Traceback (most recent call last):
File "/vol/huge/depienne/fame_rna/dna-seq-strling/.snakemake/conda/0914eb68a5b449325434937342b34375/bin/superstr-outliers.py", line 211, in
df = pd.read_csv(file)
File "/vol/huge/depienne/fame_rna/dna-seq-strling/.snakemake/conda/0914eb68a5b449325434937342b34375/lib/python3.10/site-packages/pandas/util/_decorators.py", line 311, in wrapper
return func(*args, **kwargs)
File "/vol/huge/depienne/fame_rna/dna-seq-strling/.snakemake/conda/0914eb68a5b449325434937342b34375/lib/python3.10/site-packages/pandas/io/parsers/readers.py", line 680, in read_csv
return _read(filepath_or_buffer, kwds)
File "/vol/huge/depienne/fame_rna/dna-seq-strling/.snakemake/conda/0914eb68a5b449325434937342b34375/lib/python3.10/site-packages/pandas/io/parsers/readers.py", line 575, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/vol/huge/depienne/fame_rna/dna-seq-strling/.snakemake/conda/0914eb68a5b449325434937342b34375/lib/python3.10/site-packages/pandas/io/parsers/readers.py", line 933, in init
self._engine = self._make_engine(f, self.engine)
File "/vol/huge/depienne/fame_rna/dna-seq-strling/.snakemake/conda/0914eb68a5b449325434937342b34375/lib/python3.10/site-packages/pandas/io/parsers/readers.py", line 1217, in _make_engine
self.handles = get_handle( # type: ignore[call-overload]
File "/vol/huge/depienne/fame_rna/dna-seq-strling/.snakemake/conda/0914eb68a5b449325434937342b34375/lib/python3.10/site-packages/pandas/io/common.py", line 789, in get_handle
handle = open(
FileNotFoundError: [Errno 2] No such file or directory: 'results/superstr/multiparse/fame_rna/motifs/12mers/CCCCGCCCCGCG.csv'

Its correct, this specific file haven't been created and doesn't exist. If I invoke the outlier script without --pathogenic it works.

@lfearnley lfearnley self-assigned this Jun 6, 2022
@lfearnley
Copy link
Contributor

Sorry about the delayed reply here. This is a fairly quick fix and I'll try and push it through later today.

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