CATT icon indicating copy to clipboard operation
CATT copied to clipboard

LoadError: TaskFailedException

Open pooja185 opened this issue 1 year ago • 0 comments

Hello,

I'm unable to run catt tool. I've set the samtools and bwa paths correctly but the error persists [ Info: 2024-04-19 00:57:59] Program start [ Info: 2024-04-19 00:57:59] Handing Single-end sample: testSample.fq [ Info: 2024-04-19 00:57:59] Aligning ERROR: LoadError: TaskFailedException

nested task error: failed processes:
  Process(`bwa mem -v 0 -SP -t 4 -k 10 -A 1 -B 2 -L 0 -T 12 /project/ypatel_840/pjaiswal/TCR_project/cat/CATT/resource/TR/hs/TRB/TRBJ-gai3-DNA.fa testSample.fq`, ProcessExited(1)) [1]
  Process(`samtools sort -O SAM -t AS -l 0 -@ 4`, ProcessExited(1)) [1]
  Process(`samtools view -F 2308`, ProcessExited(1)) [1]
  Process(`samtools view -h -T /project/ypatel_840/pjaiswal/TCR_project/cat/CATT/resource/TR/hs/TRB/TRBJ-gai3-DNA.fa`, ProcessExited(1)) [1]

Stacktrace:
 [1] pipeline_error(procs::Base.ProcessChain)
   @ Base ./process.jl:578
 [2] run(::Base.CmdRedirect; wait::Bool)
   @ Base ./process.jl:480
 [3] run
   @ ./process.jl:477 [inlined]
 [4] map2align(input_file::String, ref::String, fasta_flag::Cmd, prefix::String, threads::Int64, score::Int64)
   @ Main /project/ypatel_840/pjaiswal/TCR_project/cat/CATT/catt.jl:44
 [5] (::var"#94#96"{Dict{String, Any}, Vector{Any}, Cmd, String, Int64})()
   @ Main ./task.jl:514

Stacktrace: [1] sync_end(c::Channel{Any}) @ Base ./task.jl:445 [2] macro expansion @ ./task.jl:477 [inlined] [3] input_convert(args::Dict{String, Any}, input_file::String; input_file2::Nothing) @ Main /project/ypatel_840/pjaiswal/TCR_project/cat/CATT/catt.jl:144 [4] input_convert(args::Dict{String, Any}, input_file::String) @ Main /project/ypatel_840/pjaiswal/TCR_project/cat/CATT/catt.jl:135 [5] proc(args::Dict{String, Any}) @ Main /project/ypatel_840/pjaiswal/TCR_project/cat/CATT/catt.jl:768 [6] top-level scope @ /project/ypatel_840/pjaiswal/TCR_project/cat/CATT/catt.jl:786 in expression starting at /project/ypatel_840/pjaiswal/TCR_project/cat/CATT/catt.jl:785

Could you please help me how to resolve this?

pooja185 avatar Apr 19 '24 08:04 pooja185