Exemplo n.º 1
0
def high_throughput_curation(request):
    """Entry point for high-throughput curation.

    Curators can check ChIP and other high-throughput methodologies in the
    regular submission mode, but if they are submitting data that is primarily
    based on high-throughput binding assays (e.g. ChIP-seq genomic-SELEX, etc.)
    they are then encouraged to use the high-throughput submission
    portal. First few steps are identical to the ones in the regular submission
    portal. In the site-entry step, two types of data are asked: sites and
    peaks. As in regular submission portal, sites can be either
    motif-associated, non-motif-associated or variable-motif-associated
    (e.g. variable spacing, inverting, anything that is not gapless alignment),
    which can be entered in sequence-based or coordinate-based modes. Below the
    site box, curators are able to enter peak data (most likely in coordinate
    mode).
    """

    # This IS high-throughput submission
    session_utils.put(request.session, 'high_throughput_curation', True)

    view = CurationWizard.as_view(
        [PublicationForm,
         GenomeForm,
         TechniquesForm,
         SiteEntryForm,
         SiteExactMatchForm,
         SiteSoftMatchForm,
         SiteAnnotationForm,
         GeneRegulationForm,
         CurationReviewForm],
        condition_dict={'5': inexact_match_form_condition})
    return view(request)
Exemplo n.º 2
0
def high_throughput_curation(request):
    """Entry point for high-throughput curation.

    Curators can check ChIP and other high-throughput methodologies in the
    regular submission mode, but if they are submitting data that is primarily
    based on high-throughput binding assays (e.g. ChIP-seq genomic-SELEX, etc.)
    they are then encouraged to use the high-throughput submission
    portal. First few steps are identical to the ones in the regular submission
    portal. In the site-entry step, two types of data are asked: sites and
    peaks. As in regular submission portal, sites can be either
    motif-associated, non-motif-associated or variable-motif-associated
    (e.g. variable spacing, inverting, anything that is not gapless alignment),
    which can be entered in sequence-based or coordinate-based modes. Below the
    site box, curators are able to enter peak data (most likely in coordinate
    mode).
    """

    # This IS high-throughput submission
    session_utils.put(request.session, 'high_throughput_curation', True)

    view = CurationWizard.as_view(
        [
            PublicationForm, GenomeForm, TechniquesForm, SiteEntryForm,
            SiteExactMatchForm, SiteSoftMatchForm, SiteAnnotationForm,
            GeneRegulationForm, CurationReviewForm
        ],
        condition_dict={'5': inexact_match_form_condition})
    return view(request)
Exemplo n.º 3
0
def curation(request):
    """Entry point for the curation."""

    session_utils.remove(request.session, 'previous_curation')

    # This is not high-throughput submission.
    session_utils.put(request.session, 'high_throughput_curation', False)

    view = CurationWizard.as_view(
        [
            PublicationForm, GenomeForm, TechniquesForm, SiteEntryForm,
            SiteExactMatchForm, SiteSoftMatchForm, SiteAnnotationForm,
            GeneRegulationForm, CurationReviewForm
        ],
        condition_dict={'5': inexact_match_form_condition})

    return view(request)
Exemplo n.º 4
0
def curation(request):
    """Entry point for the curation."""

    session_utils.remove(request.session, 'previous_curation')

    # This is not high-throughput submission.
    session_utils.put(request.session, 'high_throughput_curation', False)

    view = CurationWizard.as_view(
        [PublicationForm,
         GenomeForm,
         TechniquesForm,
         SiteEntryForm,
         SiteExactMatchForm,
         SiteSoftMatchForm,
         SiteAnnotationForm,
         GeneRegulationForm,
         CurationReviewForm],
        condition_dict={'5': inexact_match_form_condition})

    return view(request)