[BioC] R-2.9.1/Bioconductor on RedHat Enterprise 5.3
Martin Morgan
mtmorgan at fhcrc.org
Thu Aug 27 18:59:14 CEST 2009
Hi Jessica --
Jessica Hunter wrote:
> Hello all. I am a long-term R user who has recently switched platforms from Windows to Linux and I am having a hard time with the syntax difference. I am stuck on something that is likely simple, but I am stuck all the same. I have aligned short reads using Maq 0.7.1 in RedHat and I have the âmapâ output files as well as the âmap.txtâ files obtained by mapview. I am trying to input the files into Bioconductor using ShortReads, but I canât seem to read the files in. I can get âreadAlignedâ to work on Windows, but I need the memory from my Linux computer.
>
>
>
> I start by creating the dirPath:
>
> dir <- â~/Desktop/Maq50bp/Map_filesâ
>
> aln <- readAligned(dir,âs_1_sequence.mapâ,âMAQMapâ)
what does list.files(dir, "s_1_sequence.map") say? Perhaps you want
"^s_1_sequence.map$"
I think the error below is really saying that dir/pattern matches more
than one file.
Also, you might try starting R with the 'locale' set to 'C'; those
non-ascii characters in your message make me nervous. Something along
the lines of, from a bash command line
% LC_ALL=C R
Martin
>
>
>
> Using this, I get an error that âpatternâ must be âcharacter(1)â. Alternately, I define pattern by:
>
>
>
> pattern <- âs_1_sequence.mapâ
>
> aln <- readAligned(dir,pattern,âMAQMapâ)
>
>
>
> And I get the error that my directory is not a readable directory. Though I have the right permissions for this directory.
>
>
>
> Any insight would be greatly appreciated.
>
>
>
> Jessica
>
>
>
> Jessica Ezzell Hunter, MS PhD
>
> Postdoctoral Fellow
> Department of Behavioral Neuroscience
>
> Oregon Health & Science University
> 3181 SW Sam Jackson Park Road
>
> L470
> Portland, OR 97239
>
> (503) 220-8262 x51988
>
>
>
>
> [[alternative HTML version deleted]]
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
--
Martin Morgan
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109
Location: Arnold Building M1 B861
Phone: (206) 667-2793
More information about the Bioconductor
mailing list