Ortholog Converter

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Ortholog Converter

Vallejos, Andrew

How do you customize the fields returned via the ortholog converter on the list report page?

 

Thanks,

 

Andrew Vallejos

Web Developer

Biotechnology and Bioengineering Center

Human and Molecular Genomics Center

Medical College of Wisconsin

414-955-4104

[hidden email]

 


_______________________________________________
dev mailing list
[hidden email]
http://mail.intermine.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Ortholog Converter

Julie Sullivan
The query isn't using webconfig-model.xml (as it should be doing), you'd
have to update the query in the Java code.

So in OrthologueConverter.java, you would replace line 136:

        // add columns to the output
        List<String> view =
PathQueryResultHelper.getDefaultViewForClass(type, model,
webConfig,
                "Gene.homologues.homologue");
        q.addViews(view);

With whichever columns you want to use:

        // add columns to the output
        q.addViewSpaceSeparated("Gene.primaryIdentifier "
                + "Gene.organism.shortName "
                + "Gene.homologues.homologue.primaryIdentifier "
                + "Gene.homologues.homologue.organism.shortName "
                + "Gene.homologues.type "
                + "Gene.homologues.dataSets.name");


> How do you customize the fields returned via the ortholog converter on
> the list report page?
>
>
>
> Thanks,
>
>
>
> Andrew Vallejos
>
> Web Developer
>
> Biotechnology and Bioengineering Center
>
> Human and Molecular Genomics Center
>
> Medical College of Wisconsin
>
> 414-955-4104
>
> [hidden email]
>
>
>
> _______________________________________________
> dev mailing list
> [hidden email]
> http://mail.intermine.org/cgi-bin/mailman/listinfo/dev
>


_______________________________________________
dev mailing list
[hidden email]
http://mail.intermine.org/cgi-bin/mailman/listinfo/dev