task access { | task access { | ||||
File faidx | File faidx | ||||
File fasta | File fasta | ||||
File bed | |||||
String method | String method | ||||
String min_gap_size | String min_gap_size | ||||
String docker | String docker | ||||
command <<< | command <<< | ||||
if [ ${method} == "wgs" ]; then | if [ ${method} == "wgs" ]; then | ||||
cp ${bed} access-mappable.bed | |||||
else | |||||
cnvkit.py access -s ${min_gap_size} -o access-mappable.bed ${fasta} | cnvkit.py access -s ${min_gap_size} -o access-mappable.bed ${fasta} | ||||
fi | fi | ||||
>>> | >>> |