Skip to content
Prev 1884 / 21312 Next

[Bioc-devel] <no subject>

Dear Julie

I ran the code below and it worked fine for me. If you want help, can 
you try being more precise than "sometimes produces error but sometimes 
not" - e.g. exactly specify the sessionInfo() and the code you run in 
both cases, and the time and date?

There could be a multitude of reasons, which we need to exclude step by 
step, such as your using different versions of R and its packages, 
different BioMart servers, different types of internet connection. I 
would not be surprised if your problem were a biomaRt package version issue.

	Best wishes
	Wolfgang

PS - Your code example contained a typo and could not have worked 
(uppercase "L" in the "library" function). Please be sure to always 
report precisely what you're doing and don't assume small details don't 
matter.


  library(biomaRt)
  mart <- useMart(biomart="ensembl", dataset="drerio_gene_ensembl")
  seq1 = getSequence(id = "ENSDARG00000054562",
              type = "ensembl_gene_id", seqType = "gene_exon_intron",
               upstream = 350, mart = mart)
  seq1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                                                  gene_exon_intron
1 GTGTCTTTTCCCTCCCCTGGGAAATGATCGTATGTCTACAGTCTCCATCT....
      ensembl_gene_id
1 ENSDARG00000054562

 > sessionInfo()
R version 2.10.0 Under development (unstable) (2009-06-12 r48755)
x86_64-unknown-linux-gnu

locale:
  [1] LC_CTYPE=it_IT.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=it_IT.UTF-8        LC_COLLATE=it_IT.UTF-8
  [5] LC_MONETARY=C              LC_MESSAGES=it_IT.UTF-8
  [7] LC_PAPER=it_IT.UTF-8       LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=it_IT.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices datasets  utils     methods   base

other attached packages:
[1] biomaRt_2.1.0  fortunes_1.3-6

loaded via a namespace (and not attached):
[1] RCurl_0.98-1 XML_2.5-1