Hey Bob - Thanks again. This routine was something I really needed because I do a lot of blasting against raw genomes. What that means is I have a lot of large fasta files, with hundreds of thousands of scaffolds and contigs with a file size > 2 gigs.
A typical fasta file has the following...
Bob -
I really appreciate your input. In both cases there was something there to learn. I really like python - but in this case perhaps I posted a little too early - but I was stuck in the beginning - not thinking python is chronological, etc as it reads through the fasta file. Contigs...
Ok, found a working solution.
#! /usr/bin/env python
# A typical blast hit is shown below. The program is designed to return
# the blast hit in a large fasta file along with bp's up and downstream
# of this hit.
#> scaffold-1089 Length=522494
#Score = 61.6 bits (148), Expect = 2e-09...
Bob -
Here is where I am with this - and I'll try to explain in detail what I am trying to do. Any help would be appreciated as I would use this routine quite a bit.
Below is my test file, a fasta file, with two contigs:
>contigA...
Greetings -
I have been trying to set up a simple routine that tries to accomplish the following:
1. Find line number in a large fasta file with a particular Scaffold/Contig ID, e.g.:
f = open((sys.argv[1]), 'r')
# Get line number where Scaffold/contig begins..
for num, line in...
I spent quite a bit of time looking up two relatively simple solutions for using LIKE in a vba query code statement and internalizing the Uppercase of a single letter within a string and provide this post for someone searching the dbase for a similar problem.
Note: I am not an professional...
After much searching around for a solution to position a scrollbar inside a division which is made visible through a javascript call I came up with the following solution using anchors.
I am uploading this solution that someone may save a few minutes if encountering the same issue. Works well...
Thanks in advance --
I have a page that has 1 iframe. From the parent page I am sending JavaScript commands to the iframe - which works fine using, e.g.,
<input name="chkS" id="chkS" type="checkbox" value="0" onclick="javascript:parent.jframe.spin();"/>Spin
Is the above code a concern...
feherke - quite the contrary; I'm strictly academic and your comments are especially helpful - making the changes now. I posted this since others may run into a similar problem. Appreciate your time feherke - a little help makes a big difference.
I am posting this for those looking for a simple image swap routine that handles two images of different dimensions. Many routines (all simple) worked locally but not on the server I use. The following code worked across several browsers, locally and on my server.
Hopefully this may save...
Did you see this post on the web:
http://www.mp3car.com/vbulletin/autotouch/50193-error-dll-missing.html
..perhaps a If..IsPostback..Then problem? Just a couple of thoughts - hope you find the solution soon.
codecomm: Don't have time at the moment to tweak your problem but do a thorough search here at Tek-tips for Editing Grids - there should be numerous examples - also, go to Google groups and do a quick search.
There should be plenty of examples - this should be a straight forward application of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.