Skip to content

Commit

Permalink
Added new file types
Browse files Browse the repository at this point in the history
  • Loading branch information
tgurbich committed Aug 15, 2024
1 parent 97602c6 commit d6f2014
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions emgapianns/management/commands/import_genomes.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,15 @@ def upload_genome_files(self, genome, directory, has_pangenome):
genome.accession + '_crisprcasfinder.tsv', 'Genome analysis', 'genome', False)
self.upload_genome_file(genome, directory, 'Genome Mobilome Annotation', 'gff',
genome.accession + '_mobilome.gff', 'Genome analysis', 'genome', False)
# pipeline v2.4.0 files (if not empty):
self.upload_genome_file(genome, directory, 'Genome dbCAN annotation', 'gff',
genome.accession + '_dbcan.gff', 'Genome analysis', 'genome', False)
self.upload_genome_file(genome, directory, 'Genome Defense Finder annotation', 'gff',
genome.accession + '_defense_finder.gff', 'Genome analysis', 'genome', False)
self.upload_genome_file(genome, directory, 'Genome GECCO annotation', 'gff',
genome.accession + '_gecco.gff', 'Genome analysis', 'genome', False)
self.upload_genome_file(genome, directory, 'KEGG pathway completeness', 'tsv',
genome.accession + '_kegg_pathways.tsv', 'Genome analysis', 'genome', False)

if has_pangenome:
self.upload_genome_file(genome, directory, 'Pangenome core genes list', 'tab',
Expand Down

0 comments on commit d6f2014

Please sign in to comment.