Hi all,
I am trying to get samtools so that I can sort and index bam files generated with galaxy and view them in IGV.
I am running on Windows 7 x64. I have installed Git Bash (version 1.8.3-preview20130601), downloaded samtools (Beta Release 0.1.19) using the command line "git clone git://github.com/samtools/samtools.git" and this produced a folder named "samtools" in C:\Users\Myname:
I then tried to compile samtools using Cygwin (v1.7.24) using the command "make". Cygwin does a few things, gives the message "compilation terminated" and then lists a few errors:
Makefile:31: recipe for target `bam_tview_curses.o' failed
make[1]: *** [bam_tview_curses.o] Error 1
make[1]: Leaving directory `/cygdrive/c/Users/Agathe/samtools'
Makefile:34: recipe for target `all-recur' failed
make: *** [all-recur] Error 1
Finally, if I try to use samtools to sort a bam file (I copied the bam file into the samtools folder and typed "sort Ac7vandAcSat01.bam" and I get this:
Also, commands like tview or index are not recognized (-bash: tview: command not found; -bash: index: command not found).
All in all, I do not think I have installed or compiled samtools properly.
Do you see any obvious mistakes that I have made during installation and compilation of samtools?
In advance, thank you for your help,
Oxalis
I am trying to get samtools so that I can sort and index bam files generated with galaxy and view them in IGV.
I am running on Windows 7 x64. I have installed Git Bash (version 1.8.3-preview20130601), downloaded samtools (Beta Release 0.1.19) using the command line "git clone git://github.com/samtools/samtools.git" and this produced a folder named "samtools" in C:\Users\Myname:
Cloning into 'samtools'...
remote: Counting objects: 4230, done.
remote: Compressing objects: 100% (2092/2092), done.
rRemote: Total 4230 (delta 2477), reused 3856 (delta 2133)eceiving objects: 99%
Receiving objects: 100% (4230/4230), 3.50 MiB | 414.00 KiB/s, done.
Resolving deltas: 100% (2477/2477), done.
remote: Counting objects: 4230, done.
remote: Compressing objects: 100% (2092/2092), done.
rRemote: Total 4230 (delta 2477), reused 3856 (delta 2133)eceiving objects: 99%
Receiving objects: 100% (4230/4230), 3.50 MiB | 414.00 KiB/s, done.
Resolving deltas: 100% (2477/2477), done.
Makefile:31: recipe for target `bam_tview_curses.o' failed
make[1]: *** [bam_tview_curses.o] Error 1
make[1]: Leaving directory `/cygdrive/c/Users/Agathe/samtools'
Makefile:34: recipe for target `all-recur' failed
make: *** [all-recur] Error 1
Finally, if I try to use samtools to sort a bam file (I copied the bam file into the samtools folder and typed "sort Ac7vandAcSat01.bam" and I get this:
$ sort Ac7vandAcSat01.bam
sort: string comparison failed: Invalid or incomplete multibyte or wide character
sort: Set LC_ALL='C' to work around the problem.
sort: The strings compared were `o\210x\273ˆK\352\227ީD\371\204\211%\322TվЄ\\\342\366\245\332\034R\337H\312\360WR\f\210\236\306\377F\343e\005N\261\037ʛr\372Z\274\355\213x^\233\f\340\226M\355\251_\270I\2040*e\b\265]$9\221W\207\340\322\344\f\257\307\377V\361y\222\264\204\367\016F\022\342\377\206\2241|\306Y\324D\230\326\006ς\2328\314\016\034⟱\313\365\345f\02300V\262q\266v`\234G\251\265\3372h\206\352\tL\376n\354T6\277ik2\263\336C\030\307\017ҤuA\027\320\310\030¤J\262\270\300\315Ym\240\255H\376\245c\373\265\263\361\035\346\257/vk\327\331\326\304\336\272v@\354\235\001\241\346.EsϜ\301xmvr2\205\266`\271\240MO!<\334\316\003U\031n\270\203\273\342\2065L\241\032\355\343\213\312\a\351\276~y\363\300\324/\003#hQ\345I\006\305\347' and `*l\035@\367*\271\273ಮ\235\200\271.q\355\213I=ٮ\317\3523\307\335\356\204\317\346P\304PS\252\b\352A\177㝒S\352y\270̀\266\211\016\347\211\031N\321 \225\035S\300\322\033\203\234\253Mx6 \301\377\017\303t\305E\350\034\0\0\037\213\b\004\0\0\0\0\0\377\006\0BC\002\0\033\0\003\0\0\0\0\0\0\0\0\0'.
sort: string comparison failed: Invalid or incomplete multibyte or wide character
sort: Set LC_ALL='C' to work around the problem.
sort: The strings compared were `o\210x\273ˆK\352\227ީD\371\204\211%\322TվЄ\\\342\366\245\332\034R\337H\312\360WR\f\210\236\306\377F\343e\005N\261\037ʛr\372Z\274\355\213x^\233\f\340\226M\355\251_\270I\2040*e\b\265]$9\221W\207\340\322\344\f\257\307\377V\361y\222\264\204\367\016F\022\342\377\206\2241|\306Y\324D\230\326\006ς\2328\314\016\034⟱\313\365\345f\02300V\262q\266v`\234G\251\265\3372h\206\352\tL\376n\354T6\277ik2\263\336C\030\307\017ҤuA\027\320\310\030¤J\262\270\300\315Ym\240\255H\376\245c\373\265\263\361\035\346\257/vk\327\331\326\304\336\272v@\354\235\001\241\346.EsϜ\301xmvr2\205\266`\271\240MO!<\334\316\003U\031n\270\203\273\342\2065L\241\032\355\343\213\312\a\351\276~y\363\300\324/\003#hQ\345I\006\305\347' and `*l\035@\367*\271\273ಮ\235\200\271.q\355\213I=ٮ\317\3523\307\335\356\204\317\346P\304PS\252\b\352A\177㝒S\352y\270̀\266\211\016\347\211\031N\321 \225\035S\300\322\033\203\234\253Mx6 \301\377\017\303t\305E\350\034\0\0\037\213\b\004\0\0\0\0\0\377\006\0BC\002\0\033\0\003\0\0\0\0\0\0\0\0\0'.
All in all, I do not think I have installed or compiled samtools properly.
Do you see any obvious mistakes that I have made during installation and compilation of samtools?
In advance, thank you for your help,
Oxalis
Comment