Entering edit mode
Jessica Hunter
▴
40
@jessica-hunter-3643
Last seen 10.5 years ago
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â)
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]]