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

Conversion Error #452

Open
hjn0415a opened this issue Dec 2, 2024 · 3 comments
Open

Conversion Error #452

hjn0415a opened this issue Dec 2, 2024 · 3 comments

Comments

@hjn0415a
Copy link

hjn0415a commented Dec 2, 2024

Hi, I successfully ran the test code.
but when I specify input and database, it doesn't work

nextflow run bigbio/quantms -r 1.3.0 -profile docker --input 'PXD001819.sdrf.tsv' --database '18Protein_SoCe_Tr_detergents_trace.fasta' --outdir .

[ERROR ~ Error executing process > 'NFCORE_QUANTMS:QUANTMS:INPUT_CHECK:SAMPLESHEET_CHECK (PXD001819.sdrf.tsv)'
duckdb.duckdb.ConversionException: Conversion Error: In Parquet reader of file "/usr/local/lib/python3.10/site-packages/sdrf_pipelines/ols/uberon.parquet":
failed to cast column "accession" from type VARCHAR to INTEGER: Could not convert string 'BFO:0000001' to INT32]

Which tsv and fasta files should I use for a test run?

@daichengxin
Copy link
Collaborator

daichengxin commented Dec 4, 2024

image
Hi @hjn0415a, I can't reproduce your error in same parameters and files.

Could you try to enter this container or run it in conda env? Then we can try to find the file, so that we can figure out what happened.

@hjn0415a
Copy link
Author

hjn0415a commented Dec 6, 2024

@daichengxin Thanks for your answer.
but I don't understand what this container is.
if I want to run it in conda env, do I just need to set up -profile conda?

@daichengxin
Copy link
Collaborator

Because you are running quantms in docker env. So you can try run docker ps -a to find out the container (nxf- prefix) from sdrf_pipelines module. Yes, you just set up -profile conda

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