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

Using simpleaf quant offline #88

Closed
jagoor93 opened this issue Apr 25, 2023 · 2 comments
Closed

Using simpleaf quant offline #88

jagoor93 opened this issue Apr 25, 2023 · 2 comments

Comments

@jagoor93
Copy link

Good afternoon,
Due to server limitations, I can't connect to the internet while running a submitted job. Therefore, I can't run simpleaf quant as shown in this tutorial https://combine-lab.github.io/alevin-fry-tutorials/2023/simpleaf-piscem/ because I can't download the external permit list. Is there any possible workaround for this issue? Please, let me know if this is the appropriate place to submit this post.
Thank you very much for your tutorials; they are very helpful!
Kind regards
Javier

@rob-p
Copy link
Contributor

rob-p commented Apr 25, 2023

Hi @jagoor93,

Thanks for your question. This is the appropriate venue for this. The automatic fetching of the external permit list during the simpleaf quant step is something that only happens if (a) an explicit permit list location is not given and (b) the corresponding permit list is not already present in the expected location on the local machine. Further, it will only happen the first time such a quantification call is performed.

To avoid an attempt at downloading and decompressing this list during simpleaf quant, you can either pre-populate the ALEVIN_FRY_HOME directory with the appropriate files (i.e. $ALEVIN_FRY_HOME/plist/10x_v2_permit.txt and $ALEVIN_FRY_HOME/plist/10x_v3_permit.txt). You can obtain the first file from here and the second from here. Alternatively, you can explicitly provide the path to the unfiltered permit list that you wish to use to the -u argument during the quant step, and simpleaf will use that permit list rather than attempt to fetch the corresponding one directly from the internet.

Please let us know if this works for you (cc @DongzeHE in case he has any extra thoughts on this).

--Rob

@rob-p
Copy link
Contributor

rob-p commented Apr 28, 2023

I'll assume this addresses the issue, but feel free to re-open if not.

@rob-p rob-p closed this as completed Apr 28, 2023
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