-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates data model, importer, api, filters for first release of viral…
… catalogues
- Loading branch information
1 parent
56c34d0
commit 544c255
Showing
9 changed files
with
67 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
holofood/migrations/0034_alter_animal_options_alter_viralfragment_options_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Generated by Django 4.2 on 2024-01-17 12:57 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("holofood", "0033_remove_sample_ena_run_accessions_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name="animal", | ||
options={"ordering": ("accession",)}, | ||
), | ||
migrations.AlterModelOptions( | ||
name="viralfragment", | ||
options={"ordering": ("id",)}, | ||
), | ||
migrations.RemoveField( | ||
model_name="viralfragment", | ||
name="host_mag", | ||
), | ||
] |
23 changes: 23 additions & 0 deletions
23
holofood/migrations/0035_alter_viralfragment_viral_type.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 4.2 on 2024-01-17 15:12 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("holofood", "0034_alter_animal_options_alter_viralfragment_options_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="viralfragment", | ||
name="viral_type", | ||
field=models.CharField( | ||
choices=[ | ||
("viral_sequence", "viral_sequence"), | ||
("prophage", "prophage"), | ||
], | ||
max_length=15, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
sequence_id contig viral_type viral_taxonomy host_mgyg sequence_start sequence_end cluster_representative mgya | ||
MGYC001-start-256-end-512 MGYC001 prophage Caudovirales MGYG999 256 512 MGYA001 | ||
MGYC003-start-512-end-768 MGYC003 prophage Caudovirales MGYG999 512 768 MGYC001-start-256-end-512 MGYA002 | ||
sequence_id contig viral_type viral_taxonomy sequence_start sequence_end cluster_representative mgya | ||
MGYC001-start-256-end-512 MGYC001 prophage Caudovirales 256 512 MGYA001 | ||
MGYC003-start-512-end-768 MGYC003 prophage Caudovirales 512 768 MGYC001-start-256-end-512 MGYA002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters