Open irleader opened 2 weeks ago
From the stacktrace I can see it crashes in the phylogenetic tree generation. Turning the tree generation off will prevent this crash, use BuildTree: False
as argument in the TemplateMatching section to turn this off. Either the C# stacktrace misses the underlying issue or that issue was present earlier in the stacktrace, but from this info I will not be able to pinpoint the exact issue. Hopefully just turning off the tree is enough to make it usable for your use case.
"at Stitch.PhylogeneticTree+Tree,System.ValueTuple, System.Collections.Generic.Listb1(System.Collections.IEnumerator ByRef, Int32, Boolean ByRef)
at System.Threading.Tasks.TaskReplicator+Replica`1[[System.Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].ExecuteAction(Boolean ByRef)
at System.Threading.Tasks.TaskReplicator+Replica.Execute()
at System.Threading.Tasks.TaskReplicator+Replica+<>c.<.ctor>b4_0(System.Object)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task+<>c.<.cctor>b__273_0(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
at System.Threading.Tasks.Task.ExecuteEntryUnsafe(System.Threading.Thread)
at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task, Boolean)
at System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task, Boolean)
at System.Threading.Tasks.Task.InternalRunSynchronously(System.Threading.Tasks.TaskScheduler, Boolean)
at System.Threading.Tasks.Task.RunSynchronously(System.Threading.Tasks.TaskScheduler)
at System.Threading.Tasks.TaskReplicator+Replica.Start()
at System.Threading.Tasks.TaskReplicator.Run[[System.Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](ReplicatableUserAction, System.Threading.Tasks.ParallelOptions, System.Action, System.Threading.Tasks.ParallelOptions, System.Action, System.Threading.Tasks.ParallelOptions, System.Action`1)
at Stitch.RunParameters.Run.RunTemplateMatching()
at Stitch.RunParameters.Run.Calculate()
at Stitch.ToRunWithCommandLine.RunBatchFile(System.String, Stitch.ExtraArguments)
at Stitch.ToRunWithCommandLine.Main()"
1[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Remodel[[System.ValueTuple
2[[System.Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Func2<Tree
12<System.__Canon,System.__Canon>>) ...... at Stitch.PhylogeneticTree+Tree
1[[System.Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Remodel[[System.ValueTuple`2[[System.Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Func2<Tree
1<System.Canon>,System.ValueTuple2<System.__Canon,System.__Canon>>) at Stitch.PhylogeneticTree+ProteinHierarchyTree..ctor(Tree
11<Stitch.Alignment>) at Stitch.RunParameters.Run.<RunTemplateMatching>g__BuildTree|20_2(Stitch.Segment) at Stitch.RunParameters.Run+<>c.<RunTemplateMatching>b__20_4(Stitch.Segment) at System.Threading.Tasks.Parallel+<>c__DisplayClass44_0
2[[System.Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].1<System.__Canon>, System.Threading.Tasks.ParallelOptions, Boolean) at System.Threading.Tasks.Parallel.PartitionerForEachWorker[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Concurrent.Partitioner
11<System.__Canon>, System.Action
2<System.Canon,System.Threading.Tasks.ParallelLoopState>, System.Action`3<System.Canon,System.Threading.Tasks.ParallelLoopState,Int64>, System.Func4<System.__Canon,System.Threading.Tasks.ParallelLoopState,System.__Canon,System.__Canon>, System.Func
5<System.Canon,System.Threading.Tasks.ParallelLoopState,Int64,System.Canon,System.Canon>, System.Func`1<System.Canon>, System.Action1<System.__Canon>) at System.Threading.Tasks.Parallel.ForEachWorker[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Generic.IEnumerable
11<System.__Canon>, System.Action
2<System.Canon,System.Threading.Tasks.ParallelLoopState>, System.Action`3<System.Canon,System.Threading.Tasks.ParallelLoopState,Int64>, System.Func4<System.__Canon,System.Threading.Tasks.ParallelLoopState,System.__Canon,System.__Canon>, System.Func
5<System.Canon,System.Threading.Tasks.ParallelLoopState,Int64,System.Canon,System.Canon>, System.Func`1<System.Canon>, System.Action1<System.__Canon>) at System.Threading.Tasks.Parallel.ForEach[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Collections.Generic.IEnumerable
1This is the tail of the error message, the same dataset (around 1000 reads) and batchfile works well with a template of 500 proteins, when the template is replace with 12000 proteins, this error comes out. The first part of the message keeps repeating, I only paste 2 repeats here.