Skip to content

Commit

Permalink
added fn desc
Browse files Browse the repository at this point in the history
  • Loading branch information
trvinh committed Feb 2, 2023
1 parent ad8741d commit bfbc324
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions fdog/libs/addtaxon.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def create_folders(outPath, spec_name, coreTaxa, noAnno):


def generate_spec_name(tax_id, name, ver):
""" Create species name with the format <ABBR_NAME>@<NCBI_TAXID>@<VER> """
if name == "":
ncbi_name = tree_fn.check_tax_id(tax_id)
name = tree_fn.abbr_ncbi_name(ncbi_name)
Expand Down
1 change: 1 addition & 0 deletions fdog/libs/alignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
##### FUNCTIONS RELATED TO SEQ ALIGNMENT #####

def check_fasta36_executable(fdogPath):
""" Check if FASTA36 installed in fdogPath """
try:
fasta36_cmd = '%s/bin/aligner/bin/ggsearch36' % fdogPath
subprocess.check_output(fasta36_cmd, shell = True, stderr = subprocess.STDOUT)
Expand Down
1 change: 1 addition & 0 deletions fdog/libs/blast.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def parse_blast_xml(blast_output):


def make_blastdb(args):
""" Make blastDB in coreTaxa_dir (for fdog.addTaxon and fdog.addTaxa) """
(specName, specFile, outPath, silent) = args
blastCmd = 'makeblastdb -dbtype prot -in %s -out %s/coreTaxa_dir/%s/%s' % (specFile, outPath, specName, specName)
if silent == True:
Expand Down

0 comments on commit bfbc324

Please sign in to comment.