Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Isadore

    Greetings - I have been trying

    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...
  2. Isadore

    Greetings - I have been trying

    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...
  3. Isadore

    Greetings - I have been trying

    Left 2 old comments in the file, these lines are not functional.... # Move to the line with the scaffold/contig ID # print cursor position, lineno
  4. Isadore

    Greetings - I have been trying

    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...
  5. Isadore

    Greetings - I have been trying

    ...strLine: break # move to position of initial blast hit position from the current position f.seek(t-q,1) # read bytes through range 2*q + (u-t) lstBase=[] for x in xrange(2*q+(u-t)): lstBase.append(f.read()) print lstBase f.close() I realize before this is over with I'll...
  6. Isadore

    Greetings - I have been trying

    Bob - thanks for the reply - still working on this - getting there... will post back when I get this solved - just wanted to say thanks the help...
  7. Isadore

    Greetings - I have been trying

    Sorry - forgot to put a header on this thread!
  8. Isadore

    Greetings - I have been trying

    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...
  9. Isadore

    Using LIKE and internal String UpperCase in two code examples

    PHV - Thanks for the update. Really appreciate your time on this - will give it a try!
  10. Isadore

    Using LIKE and internal String UpperCase in two code examples

    Dim strspp As String wasn't required in the 2d example; my mistake; I replaced it with a text box on the form instead.
  11. Isadore

    Using LIKE and internal String UpperCase in two code examples

    ...look up the string (avoids NULL returns). Search string is entered on the form into [txtSearch] intCt = DCount ("myName", "tblA", "myField1 Like '*" & [txtSearch] & "*'") If intCt > 0 Then [txtEnterHere] = DLookup("myName", "tblA", "myField1 Like '*" & [txtSearch] & "*'") Exit...
  12. Isadore

    Position scrollbar using window.location.hash

    My apologies! Thought this was a helpful tip thread - no question to answer. Of course, a better way is always welcome.
  13. Isadore

    Position scrollbar using window.location.hash

    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...
  14. Isadore

    Jmol and iFrames: security question

    No problem.
  15. Isadore

    Jmol and iFrames: security question

    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...
  16. Isadore

    Image swap - width and height issues

    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.
  17. Isadore

    Image swap - width and height issues

    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...
  18. Isadore

    Text-To-Speech PostBack Exception Error

    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.
  19. Isadore

    Datagrid Edit, Cancel, Paging calls SortCommand...not just limited to

    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...
  20. Isadore

    GridView - Editting divides numbers by 100

    arog123: did you get this resolved? Cut and paste your code so we can have a look.

Part and Inventory Search

Back
Top