Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • drio
    replied
    Umm.. try:

    $ /Users/jlc/desktop/samtools/samtools view /Users/jlc/desktop/samtools/my.bam

    And get a Unix book

    Leave a comment:


  • jlc_1020
    replied
    Originally posted by drio View Post
    Run this cmds and post the results here:

    $ pwd
    $ which samtools
    $ ls -lac my_bam
    $ samtools view my_bam
    I entered those commands in the directory that contains the samtools executable file and this is what I get:

    jlc-macbook-pro:samtools jlc$ pwd
    /Users/jlc/desktop/samtools
    jlc-macbook-pro:samtools jlc$ which\ samtools
    -bash: which samtools: command not found
    jlc-macbook-pro:samtools jlc$ ls -lac my.bam
    -rw-r--r--@ 1 jlc staff 1537771973 Mar 9 09:47 my.bam
    jlc-macbook-pro:samtools jlc$ samtools view my.bam
    -bash: samtools: command not found

    If I back up one directory and enter in the view command I get:

    jlc-macbook-pro:desktop jlc$ samtools/samtools view my.bam
    open: No such file or directory
    [main_samview] fail to open file for reading.

    Leave a comment:


  • drio
    replied
    Originally posted by jlc_1020 View Post
    When I enter that code, I get a summary of the program information:

    Program: samtools (Tools for alignments in the SAM format)
    Version: 0.1.7-6 (r530)

    Usage: samtools <command> [options]

    Command: view SAM<->BAM conversion
    sort sort alignment file
    pileup generate pileup output
    faidx index/extract FASTA
    tview text alignment viewer
    index index alignment
    fixmate fix mate information
    glfview print GLFv3 file
    flagstat simple stats
    calmd recalculate MD/NM tags and '=' bases
    merge merge sorted alignments
    rmdup remove PCR duplicates

    But when I try to add samtools commands, like "samtools view XXXX.bam" i get:

    open: No such file or directory
    [main_samview] fail to open file for reading.
    Run this cmds and post the results here:

    $ pwd
    $ which samtools
    $ ls -lac my_bam
    $ samtools view my_bam

    Leave a comment:


  • jlc_1020
    replied
    When I enter that code, I get a summary of the program information:

    Program: samtools (Tools for alignments in the SAM format)
    Version: 0.1.7-6 (r530)

    Usage: samtools <command> [options]

    Command: view SAM<->BAM conversion
    sort sort alignment file
    pileup generate pileup output
    faidx index/extract FASTA
    tview text alignment viewer
    index index alignment
    fixmate fix mate information
    glfview print GLFv3 file
    flagstat simple stats
    calmd recalculate MD/NM tags and '=' bases
    merge merge sorted alignments
    rmdup remove PCR duplicates

    But when I try to add samtools commands, like "samtools view XXXX.bam" i get:

    open: No such file or directory
    [main_samview] fail to open file for reading.

    Leave a comment:


  • dawe
    replied
    I prefer to compile on my own, nevertheless you should be able to run this

    Code:
    ~/Deskop/samtoolsXXXX/samtools
    where samtoolsXXXX is the directory containing the samtools executable...
    Can you post the error you get?

    d

    Leave a comment:


  • jlc_1020
    started a topic Samtools Mac Install

    Samtools Mac Install

    I'm new to Unix and starting in a Bioinformatics Lab

    I recently got some .bam files from a collaborator and am trying
    to get samtools running on my Macbook Pro.

    I downloaded the samtools-0.1.7_i386-darwin.tar.bz2 file from their
    site and extracted it to the desktop. So far I've been unsuccessful in
    my efforts to get the program running in Terminal from this point.

    Can anyone help point me in the right direction?

    Thanks

Latest Articles

Collapse

  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    by SEQadmin2



    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
    ...
    10-14-2026, 09:55 AM
  • SEQadmin2
    New Genomics Technologies Take Aim at Long-Standing Limits
    by SEQadmin2


    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
    ...
    09-28-2026, 10:25 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
35 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
25 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-15-2026, 10:52 AM
0 responses
41 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-14-2026, 05:39 AM
0 responses
45 views
0 reactions
Last Post SEQadmin2  
Working...