-
Notifications
You must be signed in to change notification settings - Fork 23
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
BioMart request declined #248
Comments
Hi! Thanks for using the Pipeline. Currently, parsing of a local biomart version is not possible. We rely on querying biomart unfortunately |
Solutions to use a local biomart version might be a good addition to the pipeline, e.g. implementing pyensemble in the variant prediction part |
Thank you so much for your prompt response! |
Hi @zhenzuo2, Did you try using the "splitting functionality" that is implemented in the pipeline? You can get an overview of the parameters that can be used here under "Run optimisation": https://nf-co.re/epitopeprediction/2.3.1/parameters/ Not sure if it would help in your case but it's worth a try. Best, |
Thank you for sharing this, Chris. I haven’t had a chance to try it yet. The issue is that for security reason, the computing servers we use are not allowed to connect to the internet. My current solution is to download dataframe from Biomart and use as an input file to that function. def get_protein_ids_from_transcripts_offline(transcripts, data_path = "mart_export.txt"):
df = pd.read_csv(data_path)
result = df.loc[df["Transcript stable ID version"].isin(transcripts),["Protein stable ID","RefSeq peptide ID","UniProtKB/Swiss-Prot ID", "Transcript stable ID version"]]
result.columns = ["ensembl_id", "refseq_id",
"uniprot_id", "transcript_id"]
print("Offline Now!")
return result Using similar ways I changed a few other functions, such as |
Description of feature
Hi,
Thank you for developing epitopeprediction! I got error when running at line 1133
transcriptProteinTable = ma.get_protein_ids_from_transcripts(transcripts, type=EIdentifierTypes.ENSEMBL)
.If the input variant list is too long and then BioMart will decline my request (due to too many times). Is there a way I can run it locally? Thank you!
Best,
Zhen
The text was updated successfully, but these errors were encountered: