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

Package deprecated? Thanks #1

Open
grimmem1 opened this issue Sep 29, 2022 · 3 comments
Open

Package deprecated? Thanks #1

grimmem1 opened this issue Sep 29, 2022 · 3 comments

Comments

@grimmem1
Copy link

devtools::install_github("joelnitta/gbfetch") Downloading GitHub repo joelnitta/gbfetch@HEAD tar (child): gzip: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now /bin/tar: Child returned status 2 /bin/tar: Error is not recoverable: exiting now tar (child): gzip: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now /bin/tar: Child returned status 2 /bin/tar: Error is not recoverable: exiting now Error: Failed to install 'gbfetch' from GitHub: length(file_list) > 0 is not TRUE In addition: Warning messages: 1: In utils::untar(tarfile, ...) : ‘/bin/tar -xf '/local/tmp/RtmpTMKVqL/file84f26625fe8.tar.gz' -C '/local/tmp/RtmpTMKVqL/remotes84f1041a219'’ returned error code 2 2: In system(cmd, intern = TRUE) : running command '/bin/tar -tf '/local/tmp/RtmpTMKVqL/file84f26625fe8.tar.gz'' had status 2
--
 

@joelnitta
Copy link
Owner

Thanks @grimmem1 for filing the issue.

TBH I haven't updated the package because I haven't been using it. Can you let me know a bit about your use case? I might be able to either suggest another approach or revive gbfetch.

@grimmem1
Copy link
Author

I want a process to grab protein fasta files for alignment using msa. UniprotR and Rcpi have failed to retrieve anything directly running their usqge example. Thanks

@joelnitta
Copy link
Owner

joelnitta commented Sep 29, 2022

Actually remotes::install_github("joelnitta/gbfetch") works on my machine, but anyways, this package is currently only designed for downloading DNA sequences, not amino acids.

May I suggest something like this?

library(rentrez)
katipo <- "Latrodectus katipo[Organism]"
katipo_search <- entrez_search(db="protein", term=katipo)
kaitpo_seqs <- entrez_fetch(db="protein", id=katipo_search$ids, rettype="fasta")

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

2 participants