Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rahul
    Member
    • Nov 2011
    • 11

    #1

    bwa samse -s parameter

    Hi all,

    I am using bwa to align RNA-seq data. Can you please direct me to link or thread that describes the parameter -s under samse command. Why is it working in version 5.7 and not 5.9?

    .../bwa-0.5.9/bwa samse -s -n 100 Genome.fasta 07.end1.sai 07.end1.fastq > 07.end1.sam

    samse:invalid option -- s

    but if i run it in bwa-0.5.7/bwa samse -s -n 100 Genome.fasta 07.end1.sai 07.end1.fastq > 07.end1.sam
    [bwa_aln_core] Data structures initialized: 8.43 sec
    [bwa_aln_core] 262144 sequences loaded: 0.67 sec
    [bwa_aln_core] convert 262144 sequences to sequence coordinate: 4.21 sec
    [bwa_aln_core] refine gapped alignments for 262144 sequences: 0.85 sec
    [bwa_aln_core] print alignments for 262144 sequences: 2.51 sec
    [bwa_aln_core] 262144 sequences have been processed.
    ......
  • swbarnes2
    Senior Member
    • May 2008
    • 910

    #2
    I don't have that version, but neither 0.4.9 nor 0.5.8a have a -s option for samse. What was -s supposed to do in samse in v. 0.5.7?

    Comment

    • Richard Finney
      Senior Member
      • Feb 2009
      • 701

      #3
      Please check again:

      I get -s as invalid in bwa-0.5.7 ...

      -bash-3.00$ bwa-0.5.7/bwa samse -s
      samse: invalid option -- s

      There appears to be no -s parameter to bwa samse in recent versions ...

      grep getopt ../bwa*/bwase.c
      ../bwa-0.5.7/bwase.c: while ((c = getopt(argc, argv, "hn:f:")) >= 0) {
      ../bwa-0.5.8a/bwase.c: while ((c = getopt(argc, argv, "hn:f:")) >= 0) {
      ../bwa-0.5.8c/bwase.c: while ((c = getopt(argc, argv, "hn:f:")) >= 0) {
      ../bwa-0.5.9/bwase.c: while ((c = getopt(argc, argv, "hn:f:r:")) >= 0) {
      ../bwa-0.6.0/bwase.c: while ((c = getopt(argc, argv, "hn:f:r:")) >= 0) {

      So, it's only looking for h(help),n(n_occ),f(outbam) and later r(readgroup)

      Comment

      • rahul
        Member
        • Nov 2011
        • 11

        #4
        Thanks for the reply. I am not sure what -s does. It is a step in RNASeq data analysis pipeline. I will update my post once i find what the parameter stands for.

        Thank you,

        Rahul

        Comment

        • kopi-o
          Senior Member
          • Feb 2008
          • 319

          #5
          Are you sure you want to use bwa to map RNA-seq data to a genomic reference (Genome.fasta)? It will miss splicing ... I would either map to a transcriptome reference or switch to a different tool.

          Comment

          • rahul
            Member
            • Nov 2011
            • 11

            #6
            Sorry: It is a customized parameter

            They have customized the bwa and the parameter was to implement the customized step. I should have contacted the author before posting it here. Sorry for the trouble.

            Comment

            • rahul
              Member
              • Nov 2011
              • 11

              #7
              Originally posted by kopi-o View Post
              Are you sure you want to use bwa to map RNA-seq data to a genomic reference (Genome.fasta)? It will miss splicing ... I would either map to a transcriptome reference or switch to a different tool.
              Thanks for the advice. It is mapping to the transcriptome. I did not display the actual file names. Sorry again.

              Comment

              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, Yesterday, 11:13 AM
              0 responses
              17 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, Yesterday, 10:48 AM
              0 responses
              18 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-15-2026, 10:52 AM
              0 responses
              36 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              42 views
              0 reactions
              Last Post SEQadmin2  
              Working...