Skip to content
Snippets Groups Projects
Commit fa031939 authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

Complete docstring for genome_seq_functions

parent af7480fa
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ def analyse_genome(genome, dbpath, tmp_path, cut, pat, genomes, soft): ...@@ -117,7 +117,7 @@ def analyse_genome(genome, dbpath, tmp_path, cut, pat, genomes, soft):
pattern on which contigs must be cut. ex: "NNNNN" pattern on which contigs must be cut. ex: "NNNNN"
genomes : dict genomes : dict
{genome_file: [genome_name]} as input, and will be changed to\ {genome_file: [genome_name]} as input, and will be changed to\
-> {genome_file: [genome_name, path, path_annotate, gsize, nbcont, L90]} {genome_file: [genome_name, path, path_annotate, gsize, nbcont, L90]}
soft : str soft : str
soft used (prokka, prodigal, or None if called by prepare module) soft used (prokka, prodigal, or None if called by prepare module)
...@@ -125,6 +125,8 @@ def analyse_genome(genome, dbpath, tmp_path, cut, pat, genomes, soft): ...@@ -125,6 +125,8 @@ def analyse_genome(genome, dbpath, tmp_path, cut, pat, genomes, soft):
------- -------
bool bool
True if genome analysis went well, False otherwise True if genome analysis went well, False otherwise
Modifies 'genomes' for the analysed genome: -> {genome_file: [genome_name, path,
path_annotate, gsize, nbcont, L90]}
""" """
gpath, grespath = get_output_dir(soft, dbpath, tmp_path, genome, cut, pat) gpath, grespath = get_output_dir(soft, dbpath, tmp_path, genome, cut, pat)
# Open original sequence file # Open original sequence file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment