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

Peptideshaker: only allow compatible searchgui input #651

Open
bernt-matthias opened this issue Feb 14, 2022 · 2 comments
Open

Peptideshaker: only allow compatible searchgui input #651

bernt-matthias opened this issue Feb 14, 2022 · 2 comments

Comments

@bernt-matthias
Copy link
Collaborator

Searchgui input should be allowed only for compatible versions.

Or at least documented which versions are allowed.

@bernt-matthias
Copy link
Collaborator Author

Actually it should:

<options options_filter_attribute="metadata.searchgui_major_version" >

But apparently it does not:

 inflated: SEARCHGUI_IdentificationParameters.par
An error occurred when saving the path preference to /gpfs1/data/galaxy_server/galaxy/database/dependencies/_conda/envs/mulled-v1-778f36fa238af9daffe7e1e078d5d379b2e631a2f9db740ac57a49bbe2530526/share/peptide-shaker-2.0.25-0/resources/conf/paths.txt.
	at com.compomics.util.io.flat.SimpleFileWriter.<init>(SimpleFileWriter.java:59)
	at eu.isas.peptideshaker.preferences.PeptideShakerPathParameters.writeConfigurationToFile(PeptideShakerPathParameters.java:391)
	at eu.isas.peptideshaker.cmd.PathSettingsCLI.setPathSettings(PathSettingsCLI.java:114)
	at eu.isas.peptideshaker.cmd.PathSettingsCLI.extractAndUpdatePathOptions(PathSettingsCLI.java:273)
	at eu.isas.peptideshaker.cmd.PeptideShakerCLI.main(PeptideShakerCLI.java:1356)
	at java.base/java.io.FileOutputStream.open0(Native Method)
	at java.base/java.io.FileOutputStream.open(FileOutputStream.java:298)
	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:237)
	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:187)
	at java.base/java.io.FileWriter.<init>(FileWriter.java:96)
	at com.compomics.util.io.flat.SimpleFileWriter.<init>(SimpleFileWriter.java:53)
	... 4 more
<CompomicsError>PeptideShaker processing failed. Please see the PeptideShaker log file.</CompomicsError>
java.lang.IllegalArgumentException: Version of parameters file /work/songalax/galaxy/database/jobs_directory/000/149/149046/working/SEARCHGUI_IdentificationParameters.par not supported.
	at com.compomics.util.parameters.identification.IdentificationParameters.getIdentificationParameters(IdentificationParameters.java:557)
	at com.compomics.cli.identification_parameters.IdentificationParametersInputBean.<init>(IdentificationParametersInputBean.java:2102)
	at eu.isas.peptideshaker.cmd.PeptideShakerCLIInputBean.<init>(PeptideShakerCLIInputBean.java:152)
	at eu.isas.peptideshaker.cmd.PeptideShakerCLI.main(PeptideShakerCLI.java:1377)

@bernt-matthias
Copy link
Collaborator Author

User used PS 2.0.25+galaxy0 with an output from SG 3.3.10.1. The metadata of the SG correctly shows

SearchGui Version: 3.3.10.1 and
SearchGui Major Version 3

So the tool should actually not allow to load this SG input ... and if I try to reproduce it doesn't .. really odd .. will try to ask the user if he recalls how he got this data in.

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

1 participant