Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DrD2009
    Member
    • Oct 2009
    • 88

    #1

    Bowtie settings and SAM to GFF

    Hello everyone,

    I'm pretty new to bioinformatics so I will probably start asking a lot of questions on here. Hopefully in time I'll be able to start answering some as well.

    I have two connected questions:

    Question 1:
    I'm trying to align siRNAs to a genome using Bowtie. I have created the index for the genome and have aligned the siRNAs of the various files numerous times with different settings. My question is what settings would be ideal to use for the sequences I'm trying to align? I've tried different ones and all have given me a variable number of output alignments. Is there a good standard set of alignment parameters for these siRNAs?

    The files to be aligned contain thousands of sequences in FASTA format and are around 16-24 base pairs long.

    I've been using this command lately:
    bowtie -t -p 2 (genome index) -f -a -v 0 (FASTA file to align) --sam-nosq (output file)


    Question 2:
    My end goal is to create three column BED files (chromosome, start position, and stop position) for the alignments using the output of Bowtie. What would be the best way to go about doing this? I've been trying to find one, but have been unsuccessful.


    Thanks,
    Brandon
  • colindaven
    Senior Member
    • Oct 2008
    • 417

    #2
    Hi Brandon,

    have a look at the Vancouver short read package

    In this directory
    VancouverShortR-4.0.7/conversion_util

    you ll find
    BowtieToBedFormat.jar

    It worked very nicely for me.

    Colin

    Comment

    • DrD2009
      Member
      • Oct 2009
      • 88

      #3
      Colin,

      Thank you so much for the recommendation. I've been trying to get it to work, but I've been experiencing problems. I was wondering if you have experienced this? Looks like something is wrong with my Java, but it is installed and working.

      bldf2b@kc-bio-bsb319debian:~/Desktop/VancouverShortR-4.0.10/conversion_util$ java -jar BowtieToBedFormat.jar -input /home/bldf2b/Desktop/rdr6.map -output /home/bldf2b/Desktop/ -name testfile
      Exception in thread "main" java.lang.NoSuchMethodError: method java.io.PrintStream.<init> with signature (Ljava.lang.String; )V was not found.
      at src.lib.ioInterfaces.Log_Buffer.addLogFile(Log_Buffer.java:193)
      at src.fileUtilities.BowtieToBedFormat.main(BowtieToBedFormat.java:76)

      Comment

      • colindaven
        Senior Member
        • Oct 2008
        • 417

        #4
        Hi,

        so what java version are you using ?

        type
        java -version

        Are you using Sun java ?

        I had no problems with
        java version "1.6.0_16"
        Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
        Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)

        cheers

        Comment

        • Ben Langmead
          Senior Member
          • Sep 2008
          • 200

          #5
          Originally posted by DrD2009 View Post
          Is there a good standard set of alignment parameters for these siRNAs?
          I'll defer to others on this - I've never tried it. Still, I would recommend simply trying several reasonable sets of parameters and evaluating whether you're getting the desired/best combination of speed and sensitivity. If you have a huge set of input reads and are tired of waiting for long experiments to finish, use -u to select a subset of them.

          Thanks,
          Ben

          Comment

          • DrD2009
            Member
            • Oct 2009
            • 88

            #6
            To Colin:

            That was the problem. I tried to install Java onto Debian following the manual for installation, but I guess it didn't take because it was still using the Free Enterprise version when I ran "java -version". After trying to figure it out on Linux I gave up on it in the interest of time and was able to get it running on Windows. It's currently processing a file for me.


            To Ben:

            Thank you for getting back with me. I'll continue playing with the parameters.

            Comment

            • DrD2009
              Member
              • Oct 2009
              • 88

              #7
              Colin,

              It was taking a while to process the file so I created a sam file with just a few lines (~10) and ran the BowtieToBedFormat tool. It created all of the files, but the files were all blank, any ideas?

              C:\Documents and Settings\bldf2b\Desktop\VancouverShortR-4.0.11\conversion_util>
              java -jar BowtieToBedFormat.jar -input "C:\Documents and Settings\bldf2b\Desktop
              \trial.txt" -output "C:\Documents and Settings\bldf2b\Desktop" -name trial
              Version: Initializing class Log_Buffer $Revision: 1643 $
              Info: Log File: C:\Documents and Settings\bldf2b\Desktop\trial.log
              Version: Vancouver Short Read Analysis Package 4.0.11
              Version: Initializing class MaqPetToBedFormat $Revision: 1571 $
              Info: * Output directory : C:\Documents and Settings\bldf2b\Desktop\
              Info: * Name : trial
              Info: Flags expected "/1" and "/2"
              Version: Initializing class Histogram $Revision: 1197 $
              Version: Initializing class BowtieIterator $Revision: 1880 $
              Info: Processing file...
              Info: Creating FileWriters
              Version: Initializing class FileOut $Revision: 468 $
              Info: processing paired reads
              Info: Number of keys to process: 1
              Info: Total unpaired name: 1
              Info: Total simple name: 0
              Info: Total forked name: 0
              Info: Total complex name 0

              Could it be the way the file is processed from bowtie?

              Comment

              • colindaven
                Senior Member
                • Oct 2008
                • 417

                #8
                Hi,

                I really haven t used this extensively - I didn t need to happily.

                Perhaps the name
                trial
                needs to occur on every line of the reads file ?
                Some programs need a chromosome name for organisms with multiple chroms.

                The only other thing I can think of is putting all data in a simple directory like

                c:\temp\

                and running from there. Spaces can cause a LOT of problems with scripts.

                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
                46 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-14-2026, 05:39 AM
                0 responses
                50 views
                0 reactions
                Last Post SEQadmin2  
                Working...