浏览代码

......

master
Zhihui 4 年前
父节点
当前提交
8799fe690a
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      tasks/fastp.wdl

+ 3
- 3
tasks/fastp.wdl 查看文件

command <<< command <<<
mkdir -p /cromwell_root/tmp/fastp/ mkdir -p /cromwell_root/tmp/fastp/
##1.Disable_quality_filtering ##1.Disable_quality_filtering
if [ ${disable_quality_filtering} -gt 0 ]
if [ "${disable_quality_filtering}" == 0 ]
then then
cp ${read1} /cromwell_root/tmp/fastp/{sample_id}_R1.fastq.tmp1.gz cp ${read1} /cromwell_root/tmp/fastp/{sample_id}_R1.fastq.tmp1.gz
cp ${read2} /cromwell_root/tmp/fastp/{sample_id}_R2.fastq.tmp1.gz cp ${read2} /cromwell_root/tmp/fastp/{sample_id}_R2.fastq.tmp1.gz
fi fi


##2.UMI ##2.UMI
if [ ${UMI} -gt 0 ]
if [ "${UMI}" == 0 ]
then then
cp /cromwell_root/tmp/fastp/${sample_id}_R1.fastq.tmp1.gz /cromwell_root/tmp/fastp/${sample_id}_R1.fastq.tmp2.gz cp /cromwell_root/tmp/fastp/${sample_id}_R1.fastq.tmp1.gz /cromwell_root/tmp/fastp/${sample_id}_R1.fastq.tmp2.gz
cp /cromwell_root/tmp/fastp/${sample_id}_R2.fastq.tmp1.gz /cromwell_root/tmp/fastp/${sample_id}_R2.fastq.tmp2.gz cp /cromwell_root/tmp/fastp/${sample_id}_R2.fastq.tmp1.gz /cromwell_root/tmp/fastp/${sample_id}_R2.fastq.tmp2.gz
fi fi


##3.Trim ##3.Trim
if [ ${disable_adapter_trimming} -gt 0 ]
if [ "${disable_adapter_trimming}" == 0 ]
then then
fastp --thread 4 -l ${length_required} -q ${qualified_quality_phred} -u ${length_required1} / fastp --thread 4 -l ${length_required} -q ${qualified_quality_phred} -u ${length_required1} /
--adapter_sequence ${adapter_sequence} --adapter_sequence_r2 ${adapter_sequence_r2} / --adapter_sequence ${adapter_sequence} --adapter_sequence_r2 ${adapter_sequence_r2} /

正在加载...
取消
保存