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

Error when running on WGS #374

Closed
alohasiqi opened this issue Sep 13, 2024 · 4 comments
Closed

Error when running on WGS #374

alohasiqi opened this issue Sep 13, 2024 · 4 comments
Labels
user-query User queries & requests

Comments

@alohasiqi
Copy link

Description of the bug

Hi!

I have been trying to run the workflow on my WGS samples using singularity on HPC but it keeps throwing out errors.

Can you help direct me with the right to run the workflow on WGS? I would greatly appreciate your help.

  1. I have tested on my vcf file, but it gives some error

ERROR ~ Error executing process > 'PGSCATALOG_PGSCCALC:PGSCCALC:MAKE_COMPATIBLE:PLINK2_VCF (sle chromosome)'
Error: Missing --chr argument.

the code is
nextflow run pgscatalog/pgsc_calc \ -profile singularity \ -latest \ --input code/samplesheet.csv --target_build GRCh38 \ --pgs_id PGS000328 \ --parallel -c code/my_custom.config

the sampleshee.csv is
sampleset,path_prefix,chrom,format
sle,mypath/sle, ,vcf

  1. when converting the vcf to bfiles, it gives another error
    ERROR ~ Error executing process > 'PGSCATALOG_PGSCCALC:PGSCCALC:MATCH:MATCH_COMBINE (sle)'

the sampleshee.csv is
sampleset,path_prefix,chrom,format
sle,mypath/sle,22,bfile

Command used and terminal output

No response

Relevant files

No response

System information

No response

@alohasiqi alohasiqi added the bug Something isn't working label Sep 13, 2024
@nebfield
Copy link
Member

nebfield commented Sep 16, 2024

Your first samplesheet contains a space in the chromosome field:

sle,mypath/sle, ,vcf

So the workflow is trying to extract variants from chromosome " " (which doesn't exist). Delete the space and it should be OK.

However, WGS data are not yet well supported by the calculator, which is probably why you get an error on the MATCH_COMBINE step. If you'd like to use the calculator with WGS data it's best to preprocess your VCF to include non-variant sites (the docs have a link describing how to do this).

@nebfield nebfield added user-query User queries & requests and removed bug Something isn't working labels Sep 16, 2024
@nebfield nebfield closed this as not planned Won't fix, can't repro, duplicate, stale Oct 18, 2024
@ashenfernando1
Copy link

@nebfield Just wanted to clarify whether supporting WGS natively on pgsc_calc is still on the roadmap, because there's a not planned tag on this thread, thank you.

@nebfield
Copy link
Member

nebfield commented Dec 9, 2024

Yes, native support for WGS is on the roadmap for the new year 😄

@smlmbrt
Copy link
Member

smlmbrt commented Dec 9, 2024

Created a placeholder issue: #396

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user-query User queries & requests
Projects
None yet
Development

No branches or pull requests

4 participants