Navigation Menu

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

.compomics and .peptideshaker folder generation #93

Closed
jflucier opened this issue Oct 6, 2015 · 10 comments
Closed

.compomics and .peptideshaker folder generation #93

jflucier opened this issue Oct 6, 2015 · 10 comments
Assignees
Labels

Comments

@jflucier
Copy link

jflucier commented Oct 6, 2015

Hello again,

I have gotten further with running searchgui and peptideshaker in an HPC cluster. Now, I am facing a problem with peptideshaker.

I finally opted for the proposed solution by marc wich is to copy clean soft in temp folder on each comput node prior to execution. The problem comes from peptideshaker that generate a .compomics and .peptideshaker folder in my $HOME folder. These foolder seems to contain sensitive information for each dataset analysed. I get errors when multiple compute node access these folders. The only run without error is the first one started since it is the one that generates tehse folders.

Is there a way to specifiy a path to generate these folders in peptideshaker options?

For now I will try to reset $HOME to the temp folder at run time... but this is really bad as alot of things depend iont his variable.

thanks again for all your help,

JF

@mvaudel
Copy link
Contributor

mvaudel commented Oct 6, 2015

Hi JF,

Good to hear that you are going forward on this! You have the answer to
your question in your previous implementation ;) You can set all path
preferences using the PathSettingsCLI, or by using a temp folder. Then, all
the necessary information will be written in the given temp folder :) You
might also want to use the -data option which packs the fasta and mgf files
in the SearchGUI and PeptideShaker files. This way you don't have to
maintain links to these!

Hope that helps, please shout if I misunderstood your question or answered
it incorrectly.

Best regards,

Marc

2015-10-06 16:19 GMT+02:00 jflucier notifications@github.com:

Hello again,

I have gotten further with running searchgui and peptideshaker in an HPC
cluster. Now, I am facing a problem with peptideshaker.

I finally opted for the proposed solution by marc wich is to copy clean
soft in temp folder on each comput node prior to execution. The problem
comes from peptideshaker that generate a .compomics and .peptideshaker
folder in my $HOME folder. These foolder seems to contain sensitive
information for each dataset analysed. I get errors when multiple compute
node access these folders. The only run without error is the first one
started since it is the one that generates tehse folders.

Is there a way to specifiy a path to generate these folders in
peptideshaker options?

For now I will try to reset $HOME to the temp folder at run time... but
this is really bad as alot of things depend iont his variable.

thanks again for all your help,

JF


Reply to this email directly or view it on GitHub
#93.

@jflucier
Copy link
Author

jflucier commented Oct 6, 2015

Hey Marc,

sorry, I forgot all about this PathSettingsCLI options

tks,

JF

@mvaudel
Copy link
Contributor

mvaudel commented Oct 6, 2015

Keep me posted if it solves the issue!

Marc

2015-10-06 17:07 GMT+02:00 jflucier notifications@github.com:

Hey Marc,

sorry, I forgot all about this PathSettingsCLI options

tks,

JF


Reply to this email directly or view it on GitHub
#93 (comment)
.

@jflucier
Copy link
Author

jflucier commented Oct 6, 2015

Hello again Marc,

I ran PathSettingsCLI and the content of paths.txt now point to temp directory of compute node, here is content:
peptideshaker_matches_directory=/ltmp/jflucier/temp_ms/test
peptideshaker_user_preferences=/ltmp/jflucier/temp_ms/test
peptideshaker_exports=/ltmp/jflucier/temp_ms/test
unzip=/ltmp/jflucier/temp_ms/test
utilities_user_preferences=/ltmp/jflucier/temp_ms/test
ptm_configuration=/ltmp/jflucier/temp_ms/test
fasta_indexes=/ltmp/jflucier/temp_ms/test/fasta_indexes
gene_mapping=/ltmp/jflucier/temp_ms/test/gene_mapping
pride_annotation=/ltmp/jflucier/temp_ms/test/pride

Still, if I look in my $HOME directory, there is still a .peptideshaker directory created with a single file in it:

[jflucier@cp3620-mp2 ~]$ ls -a ~/.peptideshaker
. .. exportFactory.cus

My PathSettingsCLI command is:

java -cp $SHAKER_JAR_PATH eu.isas.peptideshaker.cmd.PathSettingsCLI -temp_folder $TEMPDIR/

thank again

JF

@mvaudel
Copy link
Contributor

mvaudel commented Oct 6, 2015

Hi again,

Strange, the export seems to be correctly set to the temp folder. I will
clean this up.

If you want to put everything in a single folder, the simplest is to append
the -temp option to your PeptideShaker command line, then you don't have to
run PathSettingsCLI :) If some objects still get instantiated in the home
folder, they can be ignored, but it is great if you can tell me which one
so that I clean the code.

Best regards and many thanks for this thorough testing,

Marc

2015-10-06 17:31 GMT+02:00 jflucier notifications@github.com:

Hello again Marc,

I ran PathSettingsCLI and the content of paths.txt now point to temp
directory of compute node, here is content:
peptideshaker_matches_directory=/ltmp/jflucier/temp_ms/test
peptideshaker_user_preferences=/ltmp/jflucier/temp_ms/test
peptideshaker_exports=/ltmp/jflucier/temp_ms/test
unzip=/ltmp/jflucier/temp_ms/test
utilities_user_preferences=/ltmp/jflucier/temp_ms/test
ptm_configuration=/ltmp/jflucier/temp_ms/test
fasta_indexes=/ltmp/jflucier/temp_ms/test/fasta_indexes
gene_mapping=/ltmp/jflucier/temp_ms/test/gene_mapping
pride_annotation=/ltmp/jflucier/temp_ms/test/pride

Still, if I look in my $HOME directory, there is still a .peptideshaker
directory created with a single file in it:

[jflucier@cp3620-mp2 ~]$ ls -a ~/.peptideshaker
. .. exportFactory.cus

My PathSettingsCLI command is:

java -cp $SHAKER_JAR_PATH eu.isas.peptideshaker.cmd.PathSettingsCLI
-temp_folder $TEMPDIR/

thank again

JF


Reply to this email directly or view it on GitHub
#93 (comment)
.

@jflucier
Copy link
Author

jflucier commented Oct 6, 2015

I tried your suggestion with -temp option and it doesn't seemed recongnised by peptideshaker. Here is the log:

PeptideShaker processing failed. See the PeptideShaker log for details.
org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -temp
at org.apache.commons.cli.Parser.processOption(Parser.java:363)
at org.apache.commons.cli.Parser.parse(Parser.java:199)
at org.apache.commons.cli.Parser.parse(Parser.java:85)
at eu.isas.peptideshaker.cmd.PeptideShakerCLI.main(PeptideShakerCLI.java:1010)

@mvaudel
Copy link
Contributor

mvaudel commented Oct 7, 2015

Yes, the exact option is "-temp_folder", sorry about this, will blame the
jet lag on that one :) I see that our documentation is not necessarily
clear that this option is to be used in PeptideShaker command lines
directly. I will correct this.

2015-10-06 19:45 GMT+02:00 jflucier notifications@github.com:

I tried your suggestion with -temp option and it doesn't seemed
recongnised by peptideshaker. Here is the log:

PeptideShaker processing failed. See the PeptideShaker log for details.
org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option:
-temp
at org.apache.commons.cli.Parser.processOption(Parser.java:363)
at org.apache.commons.cli.Parser.parse(Parser.java:199)
at org.apache.commons.cli.Parser.parse(Parser.java:85)
at
eu.isas.peptideshaker.cmd.PeptideShakerCLI.main(PeptideShakerCLI.java:1010)


Reply to this email directly or view it on GitHub
#93 (comment)
.

@hbarsnes
Copy link
Member

Hi JF,

PeptideShaker v1.1.0 has just been released which should fix this issue. If this is not the case, please let us know and we'll reopen the issue.

Best regards,
Harald

@jflucier
Copy link
Author

Hello Harald,

there is a problem with this new release of peptideshaker. When I execute I
ge tthis error:

[jflucier@ip32 guot]$ java -Xmx30G -cp
/home/xroucou_group/apps/softwares/PeptideShaker-1.0.10-beta/PeptideShaker-1.0.10-beta.jar
eu.isas.peptideshaker.cmd.PeptideShakerCLI
Error: Could not find or load main class
eu.isas.peptideshaker.cmd.PeptideShakerCLI

thanks,

JF

IMPORTANT: Veuillez penser à l'environnement avant d'imprimer ce courriel

Jean-Francois Lucier
Bioinformatic Research Agent
Département de Biologie / Dept of Biology
Centre de calcul scientifique / Center for Scientific Computing
Université de Sherbrooke
2500, boulevard de l'Université
Sherbrooke (Québec) J1K 2R1
CANADA

On Mon, Oct 12, 2015 at 3:33 PM, Harald Barsnes notifications@github.com
wrote:

Hi JF,

PeptideShaker v1.1.0 has just been released which should fix this issue.
If this is not the case, please let us know and we'll reopen the issue.

Best regards,
Harald


Reply to this email directly or view it on GitHub
#93 (comment)
.

@jflucier
Copy link
Author

Hello again,

forget previous message. I just saw there is problem with my peptideshaker
path.

sorry for spam.

JF

IMPORTANT: Veuillez penser à l'environnement avant d'imprimer ce courriel

Jean-Francois Lucier
Bioinformatic Research Agent
Département de Biologie / Dept of Biology
Centre de calcul scientifique / Center for Scientific Computing
Université de Sherbrooke
2500, boulevard de l'Université
Sherbrooke (Québec) J1K 2R1
CANADA

On Wed, Oct 14, 2015 at 9:45 AM, Jean-Francois Lucier jflucier@gmail.com
wrote:

Hello Harald,

there is a problem with this new release of peptideshaker. When I execute
I ge tthis error:

[jflucier@ip32 guot]$ java -Xmx30G -cp
/home/xroucou_group/apps/softwares/PeptideShaker-1.0.10-beta/PeptideShaker-1.0.10-beta.jar
eu.isas.peptideshaker.cmd.PeptideShakerCLI
Error: Could not find or load main class
eu.isas.peptideshaker.cmd.PeptideShakerCLI

thanks,

JF

IMPORTANT: Veuillez penser à l'environnement avant d'imprimer ce courriel

Jean-Francois Lucier
Bioinformatic Research Agent
Département de Biologie / Dept of Biology
Centre de calcul scientifique / Center for Scientific Computing
Université de Sherbrooke
2500, boulevard de l'Université
Sherbrooke (Québec) J1K 2R1
CANADA

On Mon, Oct 12, 2015 at 3:33 PM, Harald Barsnes notifications@github.com
wrote:

Hi JF,

PeptideShaker v1.1.0 has just been released which should fix this issue.
If this is not the case, please let us know and we'll reopen the issue.

Best regards,
Harald


Reply to this email directly or view it on GitHub
#93 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants