Skip to content

Commit

Permalink
Converting to tabs.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfm-targa committed Jul 11, 2024
1 parent e8e1f0e commit 3be2401
Show file tree
Hide file tree
Showing 16 changed files with 5,094 additions and 5,094 deletions.
864 changes: 432 additions & 432 deletions CHEWBBACA/utils/chewiens_requests.py

Large diffs are not rendered by default.

316 changes: 158 additions & 158 deletions CHEWBBACA/utils/constants.py

Large diffs are not rendered by default.

738 changes: 369 additions & 369 deletions CHEWBBACA/utils/distance_matrix.py

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions CHEWBBACA/utils/fasttree_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@


def call_fasttree(alignment_file, tree_file):
"""Compute a phylogenetic tree based on MSA data.
Parameters
----------
alignment_file : str
Path to a file with a MSA.
tree_file : str
Path to the output tree file in Newick format.
"""
proc = subprocess.Popen(['FastTree', '-fastest', '-nosupport',
'-noml', '-out', tree_file, alignment_file],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)

# Read the stdout from FastTree
stdout = proc.stdout.readlines()
stderr = proc.stderr.readlines()

return [stdout, stderr]
"""Compute a phylogenetic tree based on MSA data.
Parameters
----------
alignment_file : str
Path to a file with a MSA.
tree_file : str
Path to the output tree file in Newick format.
"""
proc = subprocess.Popen(['FastTree', '-fastest', '-nosupport',
'-noml', '-out', tree_file, alignment_file],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)

# Read the stdout from FastTree
stdout = proc.stdout.readlines()
stderr = proc.stderr.readlines()

return [stdout, stderr]
Loading

0 comments on commit 3be2401

Please sign in to comment.