Git Product home page Git Product logo

Comments (7)

deming7h777 avatar deming7h777 commented on May 27, 2024
(py2.7) [vagrant@localhost genomics-workspace]$ python manage.py addblast Anoplophora glabripennis -t prot protein -f Agla_Btl03082013.genome.fa
{'settings': None, 'pythonpath': None, 'verbosity': 1, 'traceback': False, 'Genus_Species': ['Anoplophora', 'glabripennis'], 'filename': ['Agla_Btl03082013.genome.fa'], 'no_color': False, 'type': ['prot', 'protein']}
Anoplophora glabripennis
<class 'app.models.Organism'>
prot
protein
Peptide - protein
Agla_Btl03082013.genome.fa
/home/vagrant/genomics-workspace/media/blast/db/Agla_Btl03082013.genome.fa
next step is going to add in the database

it success to add to the blastdb however there are some problem about the input argument

from genomics-workspace.

deming7h777 avatar deming7h777 commented on May 27, 2024

Case 1.
No matter the input of argument is peptide or nucleotide we can transfer it to the prot and nucl automatically and is not sensitive for the capitalization, see the example above for type

(py2.7) [vagrant@localhost genomics-workspace]$ python manage.py addblast Anoplophora glabripennis -t nucleotide Genome assembly -f Agla_Btl03082013.genome.fa
Anoplophora glabripennis
nucl
Genome Assembly
<QuerySet [<SequenceType: Nucleotide - Genome Assembly>]>
Genome Assembly
Nucleotide - Genome Assembly
Agla_Btl03082013.genome.fa
/home/vagrant/genomics-workspace/media/blast/db/Agla_Btl03082013.genome.fa
next step is going to add in the database

Case 2.
It can check if the fasta file exist in media/blast/db .

(py2.7) [vagrant@localhost genomics-workspace]$ python manage.py addblast Anoplophora glabripennis -t nucleotide Genome assembly -f Agla_Btl03082013.genome.fa
Anoplophora glabripennis
nucl
Genome Assembly
<QuerySet [<SequenceType: Nucleotide - Genome Assembly>]>
Genome Assembly
Nucleotide - Genome Assembly
Agla_Btl03082013.genome.fa
No fasta file in media/blast/db

Case 3.
It can check if the molecule_type or dataset_type is correct or not.

(py2.7) [vagrant@localhost genomics-workspace]$ python manage.py addblast Anoplophora glabripennis -t nucleoide Genome assembly -f Agla_Btl03082013.genome.fa
Anoplophora glabripennis
please enter the correct molecule_type, must be nucleotide or peptide
(py2.7) [vagrant@localhost genomics-workspace]$ python manage.py addblast Anoplophora glabripennis -t nucleotide Genome asembly -f Agla_Btl03082013.genome.fa
Anoplophora glabripennis
nucl
check your dataset_type, must be Protein or Transcript or Genome Assembly

Case 4.
It can check the combination of molecule_type and dataset_type

(py2.7) [vagrant@localhost genomics-workspace]$ python manage.py addblast Anoplophora glabripennis -t peptiDe Genome assembly -f Agla_Btl03082013.genome.fa
Anoplophora glabripennis
prot
Genome Assembly
<QuerySet [<SequenceType: Nucleotide - Genome Assembly>]>
Genome Assembly
there are no Peptide - Genome Assembly combination in the database

from genomics-workspace.

r06942072 avatar r06942072 commented on May 27, 2024

Nice!! I will make one file named add2DB.cwl

from genomics-workspace.

deming7h777 avatar deming7h777 commented on May 27, 2024

I think you need not only add2DB.cwl but also devide to add2Organism.cwl, add2Blast.cwl and add2Hmmer.cwl

from genomics-workspace.

r06942072 avatar r06942072 commented on May 27, 2024

Good idea. I deleted add2DB.cwl and I made one cwl file for each app.

Link:
https://github.com/NAL-i5K/CWL_Common-Workflow-Language/tree/dev_0328

image.png

from genomics-workspace.

deming7h777 avatar deming7h777 commented on May 27, 2024

Complete the addhmmer.py scirpt for CWL pipeline .

from genomics-workspace.

hsiaoyi0504 avatar hsiaoyi0504 commented on May 27, 2024

@deming7h777 What's the difference between this and #259 ?

from genomics-workspace.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.