![]() |
|
|
#1 |
|
"Nuri, the dragon :P"
Jul 2016
Good old Germany
811 Posts |
Hi folks,
I have a quick request about an new feature fro srfile. Print out k´s from a sieve file. This could make it easier for me to provide an remaining file after prp-testing on Bases 7,15 and later S3. (And every other Base. :)) |
|
|
|
|
|
#2 |
|
"Curtis"
Feb 2005
Riverside, CA
130016 Posts |
I use:
grep "*" prpfilename > ks_in_file In the abcd file, the header lines showing the k-values are written as k*base^n, so looking for the asterisk or the carrot will print only the lines with the k's. |
|
|
|
|
|
#3 |
|
Romulan Interpreter
Jun 2011
Thailand
100101101001012 Posts |
I use srfile combined with programmer notepad (pn2), or notepad++, both have very strong regular expressions search-and-replace (I could use perl, but I like to see interactive on screen how the files are slain
, and use ctrl+z to undo if I wrote a stupid regex by mistake). In few seconds you hack your file to what you need, and then use srfile to eliminate the k's or whatever.
|
|
|
|
|
|
#4 |
|
"Nuri, the dragon :P"
Jul 2016
Good old Germany
81110 Posts |
I also use Notepad++, which is great for a lot of stuff.
The file I want to work at is 70K lines big, from 853 single sequences. srfile can detect the amount of sequences but can´t print them into a file. Thats all I want. :) @Curtis That will print every k-value with out the "*b^n+1"-part. |
|
|
|
|
|
#5 |
|
"Curtis"
Feb 2005
Riverside, CA
486410 Posts |
Sorry, my instructions were incomplete; I first convert the file to srsieve.out format, which has the complete k-base-to-the-n line for each k.
|
|
|
|
|
|
#6 |
|
"Nuri, the dragon :P"
Jul 2016
Good old Germany
14538 Posts |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Feature request | axn | Forum Feedback | 15 | 2017-06-03 16:38 |
| Feature request | JuanTutors | Software | 22 | 2013-03-11 19:23 |
| Feature Request | Uncwilly | Software | 0 | 2008-03-06 21:07 |
| Feature Request | moo | Software | 24 | 2005-11-26 22:08 |
| Feature request | JuanTutors | Software | 2 | 2005-07-04 22:02 |