Rafa, You need to change teh URL property on the Attribute level of each mart (using MartEditor) to have its own database name as a part of URL.
HTH, Syed On 14 May 2013 17:35, Rafael Hernández <[email protected]> wrote: > Hi biomart devs, > > I've configured Biomart v0.7 to work with different databases such as > Ensembl Genes 70, Ensembl Bacteria 17, Ensembl Fungi 17... > Everything works fine but when I get a list of genes or transcripts and I > click on the links, Biomart try to send me to Ensembl but without success. > > In the *settings.conf* file, I changed the redirection with the *exturl* field > adding my own URL which send the request to a cgi perl script. This script > send users to the correct Ensembl version. > i.e. If the user queries the Ensembl Fungi Genes 17 using Biomart and > obtains a list of genes, when clicking one of those genes, the idea is that > Biomart send the request to the *redirect *script with a param > "_site=fungi". The redirection script will read the value of the *_site* param > and send the request to the correct Ensembl site. > Eg. *my_server_url**/*cgi/ > redirect.pl?_site=fungi&_trail=/Gallus_gallus/Gene/Summary?db=core;g=ENSGALG00000014600 > > My question is, How can I map each database with its own URL? In this way, > results coming from queries over fungi databases (Fungi genes 17, Fungi > Variations 17,...) will set the *_site* param to "fungi", while > bacteria's queries will send the param to "bacteria"... > Is there any setting in the martRegistry.xml file that I can use as I did > with the Displayed name, the host, database name,... for each used database? > > I've tried adding different *exturl *fields > (exturl1,exturl2,exturl3,...), one per each database but it doesn't work. > > Any idea? > > Thank you and regards, > > Rafa Hernández de Diego > > Genomics of Gene Expression Lab. > Bioinformatics and Genomics Department > Prince Felipe Research Centre (CIPF) > C/ Eduardo Primo Yúfera 3 > 46012 Valencia, Spain > > _______________________________________________ > Users mailing list > [email protected] > https://lists.biomart.org/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] https://lists.biomart.org/mailman/listinfo/users
