Mercurial > repos > modencode-dcc > spp_package
comparison spp_wrapper.py @ 9:dfdaa943f855 draft
corrected created file path
| author | modencode-dcc |
|---|---|
| date | Wed, 06 Feb 2013 21:23:05 -0500 |
| parents | 2db63ab9b129 |
| children | c57381059179 |
comparison
equal
deleted
inserted
replaced
| 8:2db63ab9b129 | 9:dfdaa943f855 |
|---|---|
| 70 if os.path.exists( created_default_file ): | 70 if os.path.exists( created_default_file ): |
| 71 shutil.move( created_default_file, output_default_file ) | 71 shutil.move( created_default_file, output_default_file ) |
| 72 | 72 |
| 73 chip_name = os.path.basename(options['chip_file']) | 73 chip_name = os.path.basename(options['chip_file']) |
| 74 input_name = os.path.basename(options['input_file']) | 74 input_name = os.path.basename(options['input_file']) |
| 75 created_narrow_peak = os.path.join( "/mnt/galaxyData/files/000", "%s_VS_%s.narrowPeak.gz" % (chip_name, input_name) ) | 75 created_narrow_peak = os.path.join( tmp_dir, "%s_VS_%s.narrowPeak.gz" % (chip_name, input_name) ) |
| 76 if os.path.exists( created_narrow_peak ): | 76 if os.path.exists( created_narrow_peak ): |
| 77 shutil.move( created_narrow_peak, output_narrow_peak ) | 77 shutil.move( created_narrow_peak, output_narrow_peak ) |
| 78 | 78 |
| 79 created_region_peak = os.path.join( "/mnt/galaxyData/files/000", "%s_VS_%s.regionPeak.gz" % (chip_name, input_name) ) | 79 created_region_peak = os.path.join( tmp_dir, "%s_VS_%s.regionPeak.gz" % (chip_name, input_name) ) |
| 80 if os.path.exists( created_region_peak ): | 80 if os.path.exists( created_region_peak ): |
| 81 shutil.move( created_region_peak, output_region_peak ) | 81 shutil.move( created_region_peak, output_region_peak ) |
| 82 | 82 |
| 83 created_peakshift_file = os.path.join( tmp_dir, "peakshift.txt" ) | 83 created_peakshift_file = os.path.join( tmp_dir, "peakshift.txt" ) |
| 84 if os.path.exists( created_peakshift_file ): | 84 if os.path.exists( created_peakshift_file ): |
