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

xgboost error using model 'HCD' with fasta2speclib #159

Closed
AXXQ opened this issue Feb 1, 2022 · 2 comments · Fixed by #157
Closed

xgboost error using model 'HCD' with fasta2speclib #159

AXXQ opened this issue Feb 1, 2022 · 2 comments · Fixed by #157

Comments

@AXXQ
Copy link

AXXQ commented Feb 1, 2022

Hi,
Thanks a lot for developing a great package!
I'm trying to use fasta2speclib with an HCD model and I'm getting the following error:

image

I'm running this command: fasta2speclib -o out_lib -c config.json project.fasta
This is the config file that I use:


{
    "output_filetype":["csv","msp", "mgf", "bibliospec", "spectronaut", "hdf"],
    "charges":[2, 3],
    "min_peplen":8,
    "max_peplen":30,
    "missed_cleavages":2,
    "modifications":[
        {"name":"Carbamidomethyl", "unimod_accession":4, "mass_shift":57.0513, "amino_acid":"C", "n_term":false, "fixed":true}
    ],
    "ms2pip_model":"HCD",
    "decoy":true,
    "add_retention_time":false,
    "elude_model_file":null,
    "rt_predictions_file":null,
    "peprec_filter":null,
    "save_peprec":false,
    "batch_size":10000,
    "num_cpu":24
}

When I use the CID model instead of HCD, the function runs fine.
Do you have any suggestions?

@RalfG
Copy link
Member

RalfG commented Feb 1, 2022

Hi @AXXQ,

Thanks for using MS²PIP! It seems like something went wrong while downloading external model files. Can you try to first remove the ~/.ms2pip directory, and then run fasta2speclib again?
It could be that the model did not download completely in a previous run. In an upcoming MS²PIP version, this issue should resolve itself, as MS²PIP will just retry to download the file.

Let us know if this works!
Ralf

@AXXQ
Copy link
Author

AXXQ commented Feb 3, 2022 via email

@RalfG RalfG linked a pull request Feb 12, 2022 that will close this issue
@RalfG RalfG closed this as completed Feb 12, 2022
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

Successfully merging a pull request may close this issue.

2 participants