Skip to content

Commit

Permalink
update file transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
wdingx committed Aug 30, 2017
1 parent 0ecba7d commit 864cdd7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/sf_coreTree_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,14 +263,14 @@ def json_parser( path, folders_dict, fpaths_dict, meta_info_file_path,

os.chdir(output_path)
os.system('mv coreGenomeTree.json strainMetainfo.json '+main_data_path+'metaConfiguration.js '+vis_json_path)
os.system('mv GC*_tree.json GC*.nwk '+vis_cluster_path)
os.system('mv GC*_aln*.fa '+vis_cluster_path)
os.system('mv *_tree.json *.nwk '+vis_cluster_path)
os.system('mv *_aln*.fa '+vis_cluster_path)
os.system('cp strain_tree.nwk '+vis_json_path+'/strain_tree.nwk')
os.system('mv GC*patterns.json '+vis_cluster_path)
os.system('mv *patterns.json '+vis_cluster_path)
os.system('mv '+clustering_path+'allclusters_final.tsv'+' '+main_data_path)

## gzip aln files
os.system('gzip -f '+vis_cluster_path+'GC*_aln*.fa' )
os.system('gzip -f '+vis_cluster_path+'*_aln*.fa' )
if clean_temporary_files:
# clean up record folders
os.chdir(main_data_path);
Expand Down

0 comments on commit 864cdd7

Please sign in to comment.