Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ben Langmead
    replied
    I assume this is a question more about TopHat than Bowtie, since Bowtie doesn't build WIGs. You're probably better off re-posting this question with "TopHat" in the subject, or making a feature request on the TopHat site.

    Thanks,
    Ben

    Leave a comment:


  • emucaki
    replied
    Gonna bump for this question:

    When using hg18/19, the .fa file headers are like this

    >chr1
    CTAACC.....
    >chr2
    CTAACC.....

    Is it possible to get bowtie/tophat to recognize a header that has positional information like so?

    >chr1_1111111_1111333
    CTAACC...
    >chr1_2222222_2222333
    CTAACC...

    To save time I want to align to just a handful of genes (some on the same chromosome). If the headers are like this, would bowtie/tophat alignment take positional data into account when building the wig files? Or do I have to change my fasta file to include NNNNNNNNNNNN... for every position I don't want?

    Leave a comment:


  • fnovo
    replied
    Hi, you can see the chr number in the refseq IDs. In your example:

    0 + gi|89161218|ref|NC_000023.9|NC_000023 151228492

    "NC_000023" actually points you to chrX (you have NC_000001 for chr 1, NC_000002 for chr2 and so on; they assigned NC_000023 to chrX).

    Hope that helps,

    Leave a comment:


  • Ckornelius
    replied
    Thanks for the help
    I started to build my own index with bowtie-build and it works now. Thought I could do it on my notebook but as the run took 2 days, I think that 2 Gb RAM (32 bit opensuse 11.1) are a bit too less.

    Leave a comment:


  • mbjohnson
    replied
    Thanks for the explanation, Ben! Just leaving off the ntoa option sped it right up.

    Leave a comment:


  • Ben Langmead
    replied
    Originally posted by mbjohnson View Post
    I guess I'll try again with no flags whatsoever...
    Yes, good idea. If the reference contains very long stretches of Ns, --ntoa can slow things down significantly. The reason is that bowtie-build essentially does a suffix sort, and when a very large chunk of those suffixes are identical at the beginning (AAAAAAAAAAA....), it's more work to decide which suffix has priority. If you leave them as Ns, bowtie-build will clip the reference around the Ns and exclude them from the sort, which should be faster.

    Ben

    Leave a comment:


  • mbjohnson
    replied
    hmm...

    bowtie-build version 0.11.3
    64-bit
    Compiler: gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)

    My input sequence was a comma-separated list of all the files in the UCSC hg18 chromosomes directory, including the "random" and the "hap" files (altogether ~3.9Gb).

    I guess I'll try again with no flags whatsoever...

    Leave a comment:


  • colindaven
    replied
    I agree with Simon: in my experience bowtie-build with default parameters on a roughly 3Gb input fasta takes around 5-10 hours.

    This is on fairly modest hardware - 64 bit 8 core server with 8Gb of RAM. Note that only one core gets used.

    colin

    Leave a comment:


  • simonandrews
    replied
    I suspect it's the options or the bowtie version you're using which are slowing you down. We've processed several eukaryotic genome assemblies with bowtie-build, and whilst they weren't quick to build they did complete within about 5 hours on a pretty standard quad core server (I'm not even sure it used more than one core).

    We ran the build with essentially no options, just taking the defaults and it all worked pretty well. We were using the x86_64 bowtie-build v0.10.1.

    The generated indices are too big for us to share, but it shouldn't be too arduous for people to create their own indices if needed.

    Leave a comment:


  • mbjohnson
    replied
    This has been covered on a few posts, the answer seeming to be to build your own index from the UCSC chr fasta files (ftp://hgdownload.cse.ucsc.edu/golden...8/chromosomes/) instead of using the pre-built.

    I'm trying to do this now, but the bowtie-build process is taking forever, even on our university computing cluster. The first time I ran it, it's still going after a week, so I tried starting it again with more resources (quad-core node w/ i think 16GB ram) and it's still going after ~50 hours. Is this normal?! I ran it with the flags -f -r --ntoa and so far it's produced *.1.ebwt and *.2.ebwt (851MB and 1.5GB respectively) but the *.rev.1/2.ebwt files are still empty.

    And does anyone who's generated this index want to share it? It seems like a lot of people want to use their results with UCSC genome browser and need this index to do so.

    Thanks!
    Matt

    Leave a comment:


  • simonandrews
    replied
    Bowtie simply reports the text on the FastA header line of the sequences it indexes (possibly with some limit as to how long that line can be).

    If you want the bowtie output to contain the chromosome name then you need to ensure that the fasta files you index have the chromosome name on their header line - preferably at the start.

    So instead of having a chromosome file which starts like:

    >gi|89161218|ref|NC_000023.9|NC_000023 Homo sapiens chromosome X, reference assembly, complete sequence
    CTAACC....


    You'd change it to something like:

    >ChrX
    CTAACC.....

    ..and then recreate your index files.

    Leave a comment:


  • Ckornelius
    started a topic BOWTIE: index woes

    BOWTIE: index woes

    Hi,

    thanks for this great program.
    I would like to align sequences against the h_sapiens_37_asm index and get the chromosome numbers included in the output.

    so far when I align a sequence with:

    bowtie -p 4 -t -a --best --strata -v 3 h_sapiens_asm -c AAAATATATTAAACGCAGCTAGAGAAGCTAGAGAGAAGGGGCAGG

    I get:

    0 + gi|89161218|ref|NC_000023.9|NC_000023 151228492 AAAATATATTAAACGCAGCTAGAGAAGCTAGAGAGAAGGGGCAGG IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 0

    So I get the strand orientation and the position of the read, however I don't find the chomosome number (X in this case). Is this because of the index I use, as with the h_sapiens index I face the same problem?
    What would I need to do to get chrX instead of gi|89161218|ref|NC_000023.9|NC_000023??

    Do I need to construct a new index with bowtie-build and what options would I need to provide as I could not find a reference to chromosome numbers?
    So far i could only think of running the bowtie command again with the --concise option and then convert the two output files, but I think that wouldn't be a smart option. Thanks.

    Cheers,
    Ck.

Latest Articles

Collapse

  • seqadmin
    Recent Advances in Sequencing Technologies
    by seqadmin



    Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

    Long-Read Sequencing
    Long-read sequencing has seen remarkable advancements,...
    12-02-2024, 01:49 PM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, 12-02-2024, 09:29 AM
0 responses
157 views
0 likes
Last Post seqadmin  
Started by seqadmin, 12-02-2024, 09:06 AM
0 responses
53 views
0 likes
Last Post seqadmin  
Started by seqadmin, 12-02-2024, 08:03 AM
0 responses
48 views
0 likes
Last Post seqadmin  
Started by seqadmin, 11-22-2024, 07:36 AM
0 responses
76 views
0 likes
Last Post seqadmin  
Working...
X