Hi!

> Can you explain how the attributes are named? It looks like there
> are 4 parts in each [...]
>   attribute:snp__simple_somatic_mutation__dm__consequence_type
>   attribute:snp__feature__main__chromosome
> [...] Is there any easy way to query for the first 3 values based on the 
> attribute name?
  Actually, everything that appears after the colon is the attribute name. If 
you look at an Ensembl mart, then you will see that the names are considerably 
shorter there. For example, genes, transcription and protein IDs are identified 
by: attribute:ensembl_gene_id, attribute:ensembl_transcript_id, 
attribute:ensembl_peptide_id

  The only reason why the names in the SNP mart appear longer is due to their 
automatic generation by an old version of BioMart (BioMart 0.7). A description 
about how BioMart 0.7 created attribute names can be found in the old 
documentation on www.biomart.org under the tab "Docs" -- which I cannot link to 
right now because the web-site appears to be down. Anyway, you will need to 
treat everything after the colon as an attribute name, because you do not know 
which version of BioMart was used to create the mart or whether the person who 
set up the mart changed them manually.

  Hm. I hope I have explained this more or less sensibly, but please do not 
hesitate to ask again if you would like more clarification.

Joachim
_______________________________________________
Users mailing list
[email protected]
https://lists.biomart.org/mailman/listinfo/users

Reply via email to