Open trom2 opened 4 months ago
Thanks for reporting the issue. It looks like this failed trying to download PSI-MOD. Maybe there's an issue with their database today. @trishorts, have you seen any issues like this today?
Welcome to SpritzModifications!
Downloading files for SpritzModifications.
Unhandled exception. System.AggregateException: One or more errors occurred. (The SSL connection could not be established, see inner exception.)
---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at UsefulProteomicsDatabases.Loaders.AwaitAsync_GetSomeData(String url)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at UsefulProteomicsDatabases.Loaders.DownloadContent(String url, String outputFile)
at UsefulProteomicsDatabases.Loaders.DownloadPsiMod(String psimodLocation)
at UsefulProteomicsDatabases.Loaders.UpdatePsiMod(String psimodLocation)
at UsefulProteomicsDatabases.Loaders.LoadPsiMod(String psimodLocation)
at SpritzModifications.ProteinAnnotation.GetUniProtMods(String spritzDirectory) in /home/msf/Programs/Spritz/Spritz/SpritzModifications/ProteinAnnotation.cs:line 21
at SpritzModifications.SpritzModifications.Main(String[] args) in /home/msf/Programs/Spritz/Spritz/SpritzModifications/SpritzModifications.cs:line 65
I just tested this, and it completes with Github Actions (https://github.com/smith-chem-wisc/Spritz/actions/runs/8321106038/job/23415590102#step:7:113). Was there a momentary issue with your internet or a firewall that blocked the connection to PSI-MOD somehow?
I don't think so, but I can check again tomorrow and let you know.
I'm able to ping https://bioportal.bioontology.org/ontologies/PSIMOD though the time is ~500-600 ms which seems high to me. I'm wondering if Spritz is timing out? I tried changing the firewall settings to allow WSL, bash and ubuntu through the firewall but that didn't change anything. I get the same error and the ping is still 500-600 ms. Any suggestions?
I suppose I could manually download PSI-MOD and try to see if that could bypass it.
I was just looking at the error again, and it looks like a certificate error rather than a timeout error; I haven't seen that one before.
To skip the step, you will need to download both the OBO-XML file and the ptmlist from uniprot into ../resources/
. Here's the link to the ptmlist.txt file: https://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/docs/ptmlist.txt. The filenames would need to be exactly ptmlist.txt
and PSI-MOD.obo.xml
Looks like Spritz went through when I added the PSI-MOD and ptmlist. All good other than why the certificate error popped up in the first place. It might be my university's IT restrictions, but that would be odd if they were blocking PSI-MOD.
Sounds great, thanks for the update! I'll keep an eye on this.
I was trying to run Spritz for isoforms and variants using the most recent Spritz version (0.3.10) on 12 paired end fastq files but the program gives an error in rule setup_transfer_mods. I'm running this using the command line version on WSL on Windows 10. Error logs are attached, including the setup_transfer_mods.log. I pasted the error message below. Any help is appreciated.
20240403_logs.zip