Mercurial > repos > bgruening > deeptools
comparison deepTools_macros.xml @ 15:b96676609e10 draft
Uploaded
author | bgruening |
---|---|
date | Mon, 16 Dec 2013 14:08:15 -0500 |
parents | a7ae8ce85f45 |
children | ef65d6b68ccc |
comparison
equal
deleted
inserted
replaced
14:a7ae8ce85f45 | 15:b96676609e10 |
---|---|
90 </repeat> | 90 </repeat> |
91 </xml> | 91 </xml> |
92 | 92 |
93 <token name="@multiple_input_bams@"> | 93 <token name="@multiple_input_bams@"> |
94 #import tempfile | 94 #import tempfile |
95 #set $temp_dir = os.path.abspath(tempfile.mkdtemp()) | |
96 #set files=[] | |
97 #set labels=[] | |
95 #for $i in $input_files: | 98 #for $i in $input_files: |
96 #set $temp_input_handle = tempfile.NamedTemporaryFile( dir=$temp_dir ) | 99 #set $temp_input_handle = tempfile.NamedTemporaryFile( dir=$temp_dir ) |
97 #set $temp_input_path = $temp_input_handle.name | 100 #set $temp_input_path = $temp_input_handle.name |
98 #silent $temp_input_handle.close() | 101 #silent $temp_input_handle.close() |
99 #silent os.system("ln -s %s %s.bam" % (str($i.bamfile), $temp_input_path)) | 102 #silent os.system("ln -s %s %s.bam" % (str($i.bamfile), $temp_input_path)) |