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

tmp files error & archaea #35

Closed
arianccbasile opened this issue Jul 24, 2020 · 9 comments
Closed

tmp files error & archaea #35

arianccbasile opened this issue Jul 24, 2020 · 9 comments

Comments

@arianccbasile
Copy link

arianccbasile commented Jul 24, 2020

Dear GapSeq developers,
Thank you for the development of such an interesting source. I have installed it and everything went fine. I tried to run ./gapseq doall toy/myb71.fna.gz and I got the following error.

Checking updates for Bacteria /mnt/data_SSD/gapseq/src/../dat/seq/Bacteria 2020-07-24 16:30:56 URL: ftp://ftp.rz.uni-kiel.de/pub/medsystbio/Bacteria/rev/sequences.tar.gz [193] -> ".listing" [1] 2020-07-24 16:31:22 URL: ftp://ftp.rz.uni-kiel.de/pub/medsystbio/Bacteria/rev/sequences.tar.gz [21329707] -> "sequences.tar.gz" [1] 2020-07-24 16:31:22 URL: ftp://ftp.rz.uni-kiel.de/pub/medsystbio/Bacteria/unrev/sequences.tar.gz [194] -> ".listing" [1] 2020-07-24 16:36:55 URL: ftp://ftp.rz.uni-kiel.de/pub/medsystbio/Bacteria/unrev/sequences.tar.gz [254056885] -> "sequences.tar.gz" [1] 2020-07-24 16:36:56 URL: ftp://ftp.rz.uni-kiel.de/pub/medsystbio/Bacteria/rxn/sequences.tar.gz [193] -> ".listing" [1] 2020-07-24 16:36:57 URL: ftp://ftp.rz.uni-kiel.de/pub/medsystbio/Bacteria/rxn/sequences.tar.gz [734237] -> "sequences.tar.gz" [1] Updated Bacteria reviewed sequences Updated Bacteria unreviewed sequences Updated Bacteria additional reaction sequences Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : oggetto "finalize_filexp" non trovato Calls: readAAStringSet ... .read_XStringSet -> fasta.index -> .finalize_filexp_list -> ::: -> get Esecuzione interrotta cat: /tmp/tmp.DjAQqNaSp8/subunit_tmp.fasta: No such file or directory cat: /tmp/tmp.DjAQqNaSp8/subunit_tmp.fasta: No such file or directory cp: cannot stat '/tmp/tmp.DjAQqNaSp8/subunit_tmp.fasta': No such file or directory Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : oggetto "finalize_filexp" non trovato Calls: readAAStringSet ... .read_XStringSet -> fasta.index -> .finalize_filexp_list -> ::: -> get Esecuzione interrotta cat: /tmp/tmp.DjAQqNaSp8/subunit_tmp.fasta: No such file or directory cat: /tmp/tmp.DjAQqNaSp8/subunit_tmp.fasta: No such file or directory cp: cannot stat '/tmp/tmp.DjAQqNaSp8/subunit_tmp.fasta': No such file or directory Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : oggetto "finalize_filexp" non trovato Calls: readAAStringSet ... .read_XStringSet -> fasta.index -> .finalize_filexp_list -> ::: -> get Esecuzione interrotta cat: /tmp/tmp.DjAQqNaSp8/subunit_tmp.fasta: No such file or directory cat: /tmp/tmp.DjAQqNaSp8/subunit_tmp.fasta: No such file or directory cp: cannot stat '/tmp/tmp.DjAQqNaSp8/subunit_tmp.fasta': No such file or directory

Do you have any suggestion on how to solve it?
Many thanks in advance.

Arianna Basile

@jotech
Copy link
Owner

jotech commented Jul 24, 2020

Hi Arianna, hm this looks strange indeed! It seems that something in the subunit detection is not running correctly. Do you have exonerate installed? gapseq needs fastaindex and fastafetch from this package.

@arianccbasile
Copy link
Author

Hi,
I followed your suggestion and I checked exonerate, but it is properly installed. I have performed additional checks on the other dependencies needed and they seem ok.
I was wondering if the problem could be due to lack of space in the "/tmp/" directory where gapseq is trying to save these files (there are a couple of Gb available). Alternatively, is it possible to set the working directory where gapseq is writing these files?
Thanks again for your assistance.
Arianna

@arianccbasile
Copy link
Author

Hi,
After a series of trials, I managed to fix all the installation problems, they were mainly related to the sybilSBML that was not properly installed at the beginning. We would like to know if you are planning in the next future to complete the section related to Archaea pathways prediction and implementation in the models.
Thanks in advance.
Sincerely
Arianna

@Waschina
Copy link
Collaborator

Waschina commented Aug 3, 2020

Dear Arianna,
We are currently testing and implementing first features for the reconstruction of archaeal metabolic networks. We aim to add the possibility to reconstruct Archaea models in the next 3-4 weeks and provide an example workflow for Archaea in the gapseq documentation.
In the meanwhile, the first step of gapseq, the pathway prediction, works already for Archaea. For instance:

$gapseq find -p all -t Archaea ../genomes/genome.fna.gz

I hope this helps and we will let you know, when more features for Archaea are implemented.

Best wishes
Silvio

@arianccbasile
Copy link
Author

Dear Silvio,
thank you a lot for your help and the useful information.
Looking forward to the Archaea universe then :)

Best regards,
Arianna

@arianccbasile
Copy link
Author

Dear Silvio,
any news about the Archaea universe? 🥇

@Waschina
Copy link
Collaborator

Waschina commented Sep 2, 2020

Dear Arianna,
yes, we are still performing some tests for Archaea-specific pathways, but with the latest gapseq development version you can do the following example workflow to reconstruct a metabolic model for an Archaeal genome (in this example xyz.fna.gz):

#!/bin/bash

model="xyz"

# Reaction & pathway prediction
./gapseq find -p all -t Archaea $model.fna.gz

# Transporter prediction
./gapseq find-transport $model.fna.gz

# Draft network reconstruction 
./gapseq draft -r $model-all-Reactions.tbl -t $model-Transporter.tbl -p $model-all-Pathways.tbl -l 100 -b archaea

# Gapfilling
./gapseq fill -m $model-draft.RDS -n [media.csv] -c $model-rxnWeights.RDS -g $model-rxnXgenes.RDS -b 100

For [media.csv] please provide the path to the gapfilling media. In the gapseq directory dat/media/ there are two minimal growth media, that we used in our test cases for Methanogens:

  • dat/media/MM_anaerobic_Acetate_H2.csv
  • dat/media/MM_anaerobic_CO2_H2.csv

We hope this helps and please let us know if you experience issues.

Best regards
Silvio

@jotech jotech changed the title tmp files error tmp files error & archaea Sep 28, 2020
@jotech
Copy link
Owner

jotech commented Sep 28, 2020

there is also a tutorial on archaea reconstruction out:
https://gapseq.readthedocs.io/en/latest/tutorials/archaea.html

@jotech
Copy link
Owner

jotech commented Nov 10, 2020

please reopen if still an issue

@jotech jotech closed this as completed Nov 10, 2020
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

3 participants