You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class BlastDb(models.Model):
objects = BlastDbManager()
organism = models.ForeignKey(app.models.Organism)
type = models.ForeignKey(SequenceType)
# fasta_file = models.FileField(upload_to='blastdb') # upload file
fasta_file = FileBrowseField('FASTA file path', max_length=200, directory='blast/db/', extensions='FASTA', format='FASTA')
title = models.CharField(max_length=200, unique=True, help_text='This is passed into makeblast -title') # makeblastdb -title
description = models.TextField(blank=True) # shown in blast db selection ui
is_shown = models.BooleanField(default=None, help_text='Display this database in the BLAST submit form') # to temporarily remove from blast db selection ui
# sequence_count = models.PositiveIntegerField(null=True, blank=True) # number of sequences in this fasta
In the progress of going through the BlastDb script I found out that one of the field 'type' in our model did not name correctly, it was the key word reserved by python itself.
There are another name for molecule_type : ('nucl',Nucleotide'), ('prot','Peptide')
need to identify the input to these two type
The text was updated successfully, but these errors were encountered: