Mercurial > repos > greg > plant_tribes_gene_family_scaffold_loader
changeset 10:11a36e425c94 draft
Uploaded
author | greg |
---|---|
date | Thu, 27 Sep 2018 12:49:17 -0400 |
parents | 1a5fecd8e5c1 |
children | 2fac73ec6ee8 |
files | gene_family_scaffold_loader.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gene_family_scaffold_loader.py Thu Sep 27 12:49:09 2018 -0400 +++ b/gene_family_scaffold_loader.py Thu Sep 27 12:49:17 2018 -0400 @@ -105,7 +105,7 @@ """ scaffold_id = os.path.basename(self.args.scaffold_path) file_dir = os.path.join(self.args.scaffold_path, 'annot') - # The scaffol naming convention must follow this pattern: + # The scaffold naming convention must follow this pattern: # <integer1>Gv<integer2>.<integer3> # where integer 1 is the number of genomes in the scaffold_id. For example: # 22Gv1.1 -> 22 genomes @@ -137,6 +137,7 @@ if i2 == 0: # Skip first line. continue + line = line.rstrip('\n') num_genes = 0 num_species = 0 items = line.split("\t")