subprocess.CalledProcessError死于<signals.sigpipe:13 =“”>

时间:2019-04-08 07:05:50

标签: subprocess python-3.6 sigpipe

我正在使用带有python子处理命令的python包。当我qsub并行执行几个作业时,它显示错误:subprocess.CalledProcessError:死于

multiprocessing.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/anaconda3/envs/lib/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/anaconda3/envs/syniu/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bismark', '/fasta', '--bowtie2', 'R1.trimed.fq.gz', '--pbat', '-o', '/M1-1-2-A3', '--temp_dir', '/M1-1-2-A3']' died with <Signals.SIGPIPE: 13>.
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/anaconda3/envs/bin/yap", line 11, in <module>
    sys.exit(main())
  File "/anaconda3/envs/lib/python3.6/site-packages/__main__.py", line 970, in main
    func(**args_vars)
  File "/anaconda3/envs/lib/python3.6/site-packages/mapping/pipeline.py", line 263, in pipeline
    bismark_df = bismark(fastq_final_df, out_dir, config)
  File "/anaconda3/envs/lib/python3.6/site-packages/mapping/bismark.py", line 135, in bismark
    result.get()
  File "/anaconda3/envs/lib/python3.6/multiprocessing/pool.py", line 670, in get
    raise self._value
subprocess.CalledProcessError: Command '['bismark', '/fasta', '--bowtie2', 'R1.trimed.fq.gz', '--pbat', '-o', '/M1-1-2-A3', '--temp_dir', '/M1-1-2-A3']' died with <Signals.SIGPIPE: 13>.


有什么好的建议吗?

0 个答案:

没有答案