Coder Social home page Coder Social logo

Comments (22)

eroller avatar eroller commented on August 24, 2024

run chmod +x on the tabix executable

from canvas.

ssri28 avatar ssri28 commented on August 24, 2024

Hi,
Thanks for the reply.
chmod +x on the tabix executable did not work.

from canvas.

ssri28 avatar ssri28 commented on August 24, 2024

from canvas.

eroller avatar eroller commented on August 24, 2024

The std out should show the command that is failing. Can you make sure this is the same tabix executable you updated permissions on. There may be more than one tabix executable. You can also just try: chmod -R 777 /home/ec2-user/data/Canvas-1.40.0.1613+master_x64

from canvas.

ssri28 avatar ssri28 commented on August 24, 2024

Hi eroller,

I even tried it..

Error i am getting

ERROR: Exception caught in WorkDoerFactory. Cancelling all jobs. Exception:
Type specified in JSON 'CanvasCommon.CommandLineParsing.OptionProcessing.SuccessfulParsingResult1[[Canvas.CommandLineParsing.SmallPedigreeInput, Canvas, Version=1.40.0.1613, Culture=neutral, PublicKeyToken=null]], CanvasCommon, Version=1.40.0.1613, Culture=neutral, PublicKeyToken=null' is not compatible with 'CanvasCommon.CommandLineParsing.OptionProcessing.IParsingResult1[[Canvas.CommandLineParsing.GermlineWgsInput, Canvas, Version=1.40.0.1613, Culture=neutral, PublicKeyToken=null]], CanvasCommon, Version=1.40.0.1613, Culture=neutral, PublicKeyToken=null'. Path '$type', line 2, position 157.
Newtonsoft.Json.JsonSerializationException: Type specified in JSON 'CanvasCommon.CommandLineParsing.OptionProcessing.SuccessfulParsingResult1[[Canvas.CommandLineParsing.SmallPedigreeInput, Canvas, Version=1.40.0.1613, Culture=neutral, PublicKeyToken=null]], CanvasCommon, Version=1.40.0.1613, Culture=neutral, PublicKeyToken=null' is not compatible with 'CanvasCommon.CommandLineParsing.OptionProcessing.IParsingResult1[[Canvas.CommandLineParsing.GermlineWgsInput, Canvas, Version=1.40.0.1613, Culture=neutral, PublicKeyToken=null]], CanvasCommon, Version=1.40.0.1613, Culture=neutral, PublicKeyToken=null'. Path '$type', line 2, position 157.
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolveTypeName(JsonReader reader, Type& objectType, JsonContract& contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, String qualifiedTypeName)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadMetadataProperties(JsonReader reader, Type& objectType, JsonContract& contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue, Object& newValue, String& id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Isas.Framework.Checkpointing.Internals.CheckpointJsonSerializer.Deserialize[T](IFileLocation path)
at Isas.Framework.Checkpointing.Internals.CheckpointJsonSerializer.Load[T](String checkpoint)
at Isas.Framework.Checkpointing.Internals.CoreCheckpointRunner.RunCheckpoint[TResult](String name, Func2 run) at Canvas.CommandLineParsing.ModeParser1.Parse(MainParser main, ILogger logger, ISettings settings, ICheckpointRunner checkpointRunner, IWorkDoer workDoer, String[] args, TextWriter standardWriter, TextWriter errorWriter)
at Canvas.CommandLineParsing.MainParser.<>c__DisplayClass20_2.b__2(ICheckpointRunner checkpointer)
at Isas.Framework.Checkpointing.CheckpointerFactory.<>c__DisplayClass1_1.b__1(CheckpointManager checkpointManager)
at Isas.Framework.Utilities.IArgumentSupplierExtensions.<>c__DisplayClass0_02.<SupplyArgument>b__1(TFill arg) at Isas.Framework.Checkpointing.Internals.CheckpointManagerFactory.<>c__DisplayClass4_01.b__0()
at Isas.Framework.Utilities.IArgumentSupplierExtensions.<>c__DisplayClass0_02.<SupplyArgument>b__0() at Isas.Framework.Utilities.IArgumentSupplierExtensions.<>c__DisplayClass0_02.b__1(TFill arg)
at Isas.Framework.Utilities.TaskTrackerFactory.<>c__DisplayClass2_01.<SupplyArgument>b__0() at Isas.Framework.Utilities.IArgumentSupplierExtensions.<>c__DisplayClass0_02.b__0()
at Isas.Framework.WorkManagement.JobLaunching.JobLauncherFactory.RunWithJobLauncher(ILogger logger, ISettings settings, IDirectoryLocation loggingDir, Action1 logCommand, CancellationToken cancellationToken, Action1 function)
at Isas.Framework.WorkManagement.JobLaunching.JobLauncherFactory.RunWithJobLauncher(ILogger logger, ISettings settings, IDirectoryLocation analysisFolder, CancellationToken cancellationToken, Action1 function) at Isas.Framework.WorkManagement.ResourceManagement.WorkResourceManagerFactory.RunWithResourceManager(ILogger logger, ISettings settings, CancellationToken cancellationToken, Action1 function)
at Isas.Framework.WorkManagement.WorkDoerFactory.RunWithWorkDoer(ILogger logger, ISettings settings, IDirectoryLocation analysisFolder, CancellationTokenSource cancellationTokenSource, Action1 function) at Canvas.CommandLineParsing.MainParser.<>c__DisplayClass20_0.<Run>b__0(ILogger logger) at Isas.Framework.FrameworkFactory.IsasFrameworkFactory.RunWithLogger(IFileLocation workflowLog, IFileLocation workflowError, Action1 function)
at Canvas.CommandLineParsing.MainParser.Run(String[] args, TextWriter standardOutput, TextWriter standardError)
at Canvas.Program.Main(String[] args)

from canvas.

eroller avatar eroller commented on August 24, 2024

Try again using an empty output directory

from canvas.

ssri28 avatar ssri28 commented on August 24, 2024

Hi Eroller,

Thank for the reply..

i tried giving empty folder.

Again i am getting errors:
Detailed Error Report :
2019-11-06T22:15:43+00:00,ERROR: Job CNV.vcf.gz failed with exit code 134. Job logs:
/home/ec2-user/data/human_exome/ES_MSC_cnv_t/Logging/CNV.vcf.gz.stdout
/home/ec2-user/data/human_exome/ES_MSC_cnv_t/Logging/CNV.vcf.gz.stderr
Job error message:
Unhandled Exception: System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Average(IEnumerable1 source) at CanvasDiploidCaller.CanvasDiploidCaller.CallVariants(String variantFrequencyFile, String inFile, String outFile, String ploidyVcfPath, String referenceFolder, String sampleName, String truthDataPath) in D:\TeamCity\buildAgent\work\a29a190a11771d97\Src\Canvas\CanvasDiploidCaller\CanvasDiploidCaller.cs:line 298 at CanvasDiploidCaller.Program.Main(String[] args) in D:\TeamCity\buildAgent\work\a29a190a11771d97\Src\Canvas\CanvasDiploidCaller\Program.cs:line 98 2019-11-06T22:15:43+00:00,ERROR: Canvas workflow error: Isas.Framework.WorkManagement.JobFailedException: Job CNV.vcf.gz failed with exit code 134 at Isas.Framework.WorkManagement.JobLaunching.BasicJobLauncher.<RunSystemProcessCheckExitAsync>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Isas.Framework.WorkManagement.JobLaunching.RuntimeTrackingJobLauncher.<LaunchJobAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Isas.Framework.WorkManagement.IJobLauncherExtensions.LaunchJob(IJobLauncher jobLauncher, JobInfo jobInfo, Action1 stdoutCallback, Action1 stderrCallback) at Isas.Framework.WorkManagement.IWorkDoerJobExtensions.<>c__DisplayClass0_01.b__0(WorkResources sr, IJobLauncher jobLauncher)
at Isas.Framework.WorkManagement.ResourceManagement.ThreadedWorkResourceManager.<>c__DisplayClass11_01.<RunWithResources>b__3(WorkResources resources) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Isas.Framework.WorkManagement.ResourceManagement.ThreadedWorkResourceManager.<<RunWithResources>b__11_1>d1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Isas.Framework.WorkManagement.AsTaskExtensions.Await[T](Task1 task) at Canvas.CanvasRunner.RunGermlineCalling(IFileLocation partitionedPath, CanvasCallset callset, String ploidyVcfPath, IFileLocation canvasSnvPath) at Isas.Framework.Checkpointing.Legacy.LegacyCheckpointRunner.<>c__DisplayClass0_0.<RunCheckpoint>b__0() at Isas.Framework.Checkpointing.Internals.SerializingCheckpointRunner.<>c__DisplayClass8_01.b__0(Checkpoint checkpoint)
at Isas.Framework.Checkpointing.Internals.CoreCheckpointRunner.RunCheckpoint[TResult](String name, Func`2 run)
at Isas.Framework.Checkpointing.Legacy.LegacyCheckpointRunner.RunCheckpoint(ICheckpointRunner runner, String name, Action a)
at Canvas.CanvasRunner.d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Canvas.CanvasRunner.CallSample(CanvasCallset callset)
at Canvas.ModeLauncher.Launch()

from canvas.

eroller avatar eroller commented on August 24, 2024

So far I have seen three different error messages, with only one command line indicating you are running SmallPedigree-WGS workflow. However, the most recent error indicates you are running Germline-WGS? You should be running SmallPedigree-WGS as Germline-WGS has been deprecated.

Please attach these files in the future: CanvasLog.txt, CanvasError.txt and any log files mentioned in CanvasError.txt, for example looking at the above error you should also include: /home/ec2-user/data/human_exome/ES_MSC_cnv_t/Logging/CNV.vcf.gz.stdout
/home/ec2-user/data/human_exome/ES_MSC_cnv_t/Logging/CNV.vcf.gz.stderr

from canvas.

ssri28 avatar ssri28 commented on August 24, 2024

Hi Eroller,

Thanks for the rapid response..

i am running now SmallPedigree-WGS

I am attaching the error log..
kindly check it
Canvas_error.zip

from canvas.

ssri28 avatar ssri28 commented on August 24, 2024

from canvas.

eroller avatar eroller commented on August 24, 2024

Failed to open file /home/ec2-user/data/human_exome/ES_MSC_cnv_2/TempCNV_/ballele.bedgraph.gz

Can you open that file? What are the contents? Is it a valid gz file?

from canvas.

ssri28 avatar ssri28 commented on August 24, 2024

Hi Eroller,

Its a empty file.

from canvas.

eroller avatar eroller commented on August 24, 2024

Can you send me the Logging directory inside the output folder?

from canvas.

ssri28 avatar ssri28 commented on August 24, 2024

Hi Eroller,
i am sending you the logging directory files
Logging.zip

from canvas.

eroller avatar eroller commented on August 24, 2024

It is empty? I don't see any files in there.

from canvas.

ssri28 avatar ssri28 commented on August 24, 2024

Hi Eroller,

Please check this attachment

Thanks
Logging.zip

from canvas.

eroller avatar eroller commented on August 24, 2024

It looks like all the b-allele VCF entries are being skipped. Sites must have PASS filter with GT field and GQ. Can you show me some lines of the VCF?

from canvas.

ssri28 avatar ssri28 commented on August 24, 2024

Hi Eroller,
I am attaching few lines of the vcf file
ES_MSC_HM2FCDSXX_L2.HC_sample.vcf.zip

from canvas.

eroller avatar eroller commented on August 24, 2024

yes, try adding PASS to the FILTER column

from canvas.

ssri28 avatar ssri28 commented on August 24, 2024

Hi Eroller, thanks for the reply, shall i add "PASS" to all Filter columns in the VCF file?

from canvas.

eroller avatar eroller commented on August 24, 2024

typically the FILTER is applied based on the quality of the variant calls (e.g. by using a threshold on GQ). You should consult the documentation for the small variant caller that generated the VCF on how to apply filters.

from canvas.

ssri28 avatar ssri28 commented on August 24, 2024

Hi Eroller,
Thank you for your suggestion..
now it is working for me.

from canvas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.