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

Can't run pipeline. Problem recognizing fastq? #282

Open
fbleao opened this issue Mar 18, 2024 · 2 comments
Open

Can't run pipeline. Problem recognizing fastq? #282

fbleao opened this issue Mar 18, 2024 · 2 comments

Comments

@fbleao
Copy link

fbleao commented Mar 18, 2024

Hi,
I installed the latest version of capcruncher as suggested and I'm currently trying to run it. I'm getting the following error:

TypeError in file /home/linux/miniforge3/lib/python3.10/site-packages/capcruncher/pipeline/workflow/Snakefile, line 32:
expected str, bytes or os.PathLike object, not float
File "/home/linux/miniforge3/lib/python3.10/site-packages/capcruncher/pipeline/workflow/Snakefile", line 32, in
File "/home/linux/miniforge3/lib/python3.10/site-packages/capcruncher/pipeline/utils.py", line 199, in from_files
File "/home/linux/miniforge3/lib/python3.10/site-packages/pandas/core/series.py", line 4626, in apply
File "/home/linux/miniforge3/lib/python3.10/site-packages/pandas/core/apply.py", line 1025, in apply
File "/home/linux/miniforge3/lib/python3.10/site-packages/pandas/core/apply.py", line 1076, in apply_standard
File "pandas/_libs/lib.pyx", line 2834, in pandas._libs.lib.map_infer
File "/home/linux/miniforge3/lib/python3.10/site-packages/capcruncher/pipeline/utils.py", line 202, in
File "/home/linux/miniforge3/lib/python3.10/posixpath.py", line 142, in basename

My fastq and config files are in the same working directory. Any ideas what the issue might be?

Thank you!

@Mingwan2002
Copy link

Mingwan2002 commented Oct 20, 2024

Hi fbleao!

I faced the exact same issue!

I tried placing the config.yml file both with the compressed and catenated data, and in another folder, but both did not work.

I've put my error beside yours (on NotePad), most lines are similar!

Hopefully, it can be resolved soon

image

@MaxMLang
Copy link

I'm also getting the same error however I got it to work past that point (although not completely) by automatically recognising the files by naming them as suggested in the Docs and placing the config.yml in the same directory.

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

3 participants