Mercurial > repos > greg > gene_family_classifier
comparison gene_family_classifier.py @ 157:387802cb9170 draft
Uploaded
| author | greg |
|---|---|
| date | Wed, 04 Oct 2017 14:27:45 -0400 |
| parents | 36ed0037292a |
| children |
comparison
equal
deleted
inserted
replaced
| 156:ece27a1eeb5d | 157:387802cb9170 |
|---|---|
| 67 shutil.move(src_hmmscan_log, args.hmmscan_log) | 67 shutil.move(src_hmmscan_log, args.hmmscan_log) |
| 68 | 68 |
| 69 # Handle orthogroups outputs. | 69 # Handle orthogroups outputs. |
| 70 if create_ortho_sequences: | 70 if create_ortho_sequences: |
| 71 orthogroups_fasta_src_dir = os.path.join(OUTPUT_DIR, 'orthogroups_fasta') | 71 orthogroups_fasta_src_dir = os.path.join(OUTPUT_DIR, 'orthogroups_fasta') |
| 72 orthogroups_fasta_dest_dir = 'output_orthos_dir' | 72 orthogroups_fasta_dest_dir = 'output_orthogroups_fasta_dir' |
| 73 if not os.path.isdir(orthogroups_fasta_dest_dir): | 73 if not os.path.isdir(orthogroups_fasta_dest_dir): |
| 74 os.makedirs(orthogroups_fasta_dest_dir) | 74 os.makedirs(orthogroups_fasta_dest_dir) |
| 75 # Remove source direrctory so it won't break dataset collection handler. | 75 # Remove source direrctory so it won't break dataset collection handler. |
| 76 utils.move_directory_files(orthogroups_fasta_src_dir, orthogroups_fasta_dest_dir, remove_source_dir=True) | 76 utils.move_directory_files(orthogroups_fasta_src_dir, orthogroups_fasta_dest_dir, remove_source_dir=True) |
| 77 | 77 |
