Mercurial > repos > greg > vsnp_sample_names
comparison vsnp_sample_names.xml @ 2:a56648c94fd3 draft
Uploaded
author | greg |
---|---|
date | Tue, 27 Oct 2020 18:26:58 +0000 |
parents | 895d18fcfebe |
children | fb3defef50e5 |
comparison
equal
deleted
inserted
replaced
1:895d18fcfebe | 2:a56648c94fd3 |
---|---|
2 <description></description> | 2 <description></description> |
3 <command detect_errors="exit_code"><![CDATA[ | 3 <command detect_errors="exit_code"><![CDATA[ |
4 #import os | 4 #import os |
5 #import re | 5 #import re |
6 #set output_dir = 'output' | 6 #set output_dir = 'output' |
7 mkdir -p $output_dir && | 7 mkdir -p $output_dir |
8 #if str($input_type_cond.input_type) == "single": | 8 #if str($input_type_cond.input_type) == "single": |
9 ## We may have a single read or a pair, but in | 9 ## We may have a single read or a pair, but in |
10 ## either case we want the same base file name. | 10 ## either case we want the same base file name. |
11 #set sample_name = $os.path.basename($input_type_cond.read.element_identifier) | 11 #set sample_name = $os.path.basename($input_type_cond.read.element_identifier) |
12 #if $sample_name.find(".") > 0: | 12 #if $sample_name.find(".") > 0: |