Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tonnny97
    Junior Member
    • Oct 2013
    • 7

    #1

    Bowtie1's --12 option in Bowtie2

    Hi all,

    I would like to ask whether Bowtie2 can accept the .fastq in "1-read-per-line format (Tab-delimited format)"? (--12 option in Bowtie1)

    Thanks for the reply.
  • gringer
    David Eccles (gringer)
    • May 2011
    • 845

    #2
    [FWIW, if it's in a single line, then it's not a fastq formatted file]

    I can't see any '--12' option in the help output of bowtie (could you point to the bowtie manual where it talks about this option?), but do notice that both bowtie and bowtie 2 support the 'raw' single-line file input type, and bowtie2 also accepts Illumina's qseq format:
    Code:
    Bowtie(v1):
    Input:
      -q                 query input files are FASTQ .fq/.fastq (default)
      -f                 query input files are (multi-)FASTA .fa/.mfa
    [b]  -r                 query input files are raw one-sequence-per-line[/b]
    Bowtie2:
     Input:
      -q                 query input files are FASTQ .fq/.fastq (default)
    [b]  --qseq             query input files are in Illumina's qseq format[/b]
      -f                 query input files are (multi-)FASTA .fa/.mfa
    [b]  -r                 query input files are raw one-sequence-per-line[/b]
    The raw format mentioned in that help doesn't seem to be what you want. The bowtie manual states "one sequence per line, without quality values or names. All quality values are assumed to be 40 on the Phred quality scale." No tabs to be found.

    Comment

    • Tonnny97
      Junior Member
      • Oct 2013
      • 7

      #3
      Thanks gringer!

      Sorry for my unclear description.
      --12 is not an option. As mentioned in the Bowtie1 manual:
      http://bowtie-bio.sourceforge.net/ma...l#command-line

      It is one of the choices for read file input.

      Usage:
      bowtie [options]* <ebwt> {-1 <m1> -2 <m2> | --12 <r> | <s>} [<hit>]

      <r>
      Comma-separated list of files containing a mix of unpaired and paired-end reads in Tab-delimited format. Tab-delimited format is a 1-read-per-line format where unpaired reads consist of a read name, sequence and quality string each separated by tabs. A paired-end read consists of a read name, sequnce of the #1 mate, quality values of the #1 mate, sequence of the #2 mate, and quality values of the #2 mate separated by tabs.

      Comment

      • gringer
        David Eccles (gringer)
        • May 2011
        • 845

        #4
        Huh, not sure how I missed that. I'm guessing based on a search through the bowtie2 manual for the word 'tab' that this option doesn't exist in bowtie2.

        FWIW, you should be able to convert a single-end tab-separated file to fastq with a quick awk script:
        Code:
        $ cat test.seq 
        Read1   ACATCAGGT       AFFABABAA
        Read2   ATTACAGAA       DEADBEEFA
        $ awk -F '\t' '{print "@" $1 "\n" $2 "\n+\n" $3}' test.seq
        @Read1
        ACATCAGGT
        +
        AFFABABAA
        @Read2
        ATTACAGAA
        +
        DEADBEEFA
        $ awk -F '\t' '{print "@" $1 "\n" $2 "\n+\n" $3}' test.seq > test.fastq
        Mixed reads would be a bit more complicated, and probably better output to separate files, so I'd degenerate to writing a Perl (or Python) script to do that because I'm not so comfortable with awk.
        Last edited by gringer; 10-20-2013, 08:01 PM.

        Comment

        • Tonnny97
          Junior Member
          • Oct 2013
          • 7

          #5
          Thanks for gringer's information and advices.

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