Hi,
I just found out that the code that you suggested also will print out the content of seq_81,seq_800,etc
Do you have any idea just only specific and only print out the content that matched with seq_8?
Thanks a lot ^^
easily you can put ur string inside this "\<\>" and you will get the exact pattern you want.
Last edited by ahmad.diab; 11-05-2009 at 04:37 AM..
Hi,
I got a long list of contents:
>sequence_1
ASSSSSSSSSSSDDDDDDDDDDDCCCCCCC
ASDSFDFFDFDFFWERERERERFSDFESFSFD
>sequence_2
ASDFDFDFFDDFFDFDSFDSFDFSDFSDFDSFASDSADSADASD
ASDFFDFDFASFASFASFAFSFFSDASFASFASFAFS
>sequence_3
VEDFGSDGSDGSDGSDGSDGSDGSDG
dDFSDFSDFSDFSDFSDFSDFSDFSDF... (2 Replies)
My input:
Data name: ABC001
Data length: 1000
Detail info
Data Direction Start_time End_time Length
1 forward 10 100 90
1 forward 15 200 185
2 reverse 50 500 450
Data name: XFG110
Data length: 100
Detail info
Data Direction Start_time End_time Length
1 forward 50 100 50 ... (11 Replies)
Input file:
#abc_1
SAASFASFGGDSGDSGDSGSDGSDGSDGSDGSDGSDGSDGDS
Output file:
FASFGGDSGDS
I just want to print out the read from position 5 until position 15 from the data.
Below is the code that I just try but it is failed to get my desired output:
grep -v '#' input_file | awk... (5 Replies)
Bash scripting beginner here...
I have many folders, each folder representing one subject. Not all subjects have all the required files, so I need to somehow cycle through all the data and then extract the data only from subjects who have no files missing. I tried to output the ls command, but... (4 Replies)
data.txt has several information like the below..
<SERVER>:WEB:MYDOM01:/tmp/cong/MYDOM01,/tmp/app/MYDOM01
<WEBER>:CANES:https-web01,https-web02:/web/apps/https-web01/config
<SERVER>:WEB:MYDOM07:/tmp/cong/MYDOM07,/tmp/app/MYDOM07... (7 Replies)
Discussion started by: mohtashims
7 Replies
LEARN ABOUT DEBIAN
rg::reprof
RG::Reprof(3pm) User Contributed Perl Documentation RG::Reprof(3pm)NAME
RG::Reprof::Reprof - protein secondary structure and accessibility predictor
SYNOPSIS
use RG::Reprof::Reprof;
DESCRIPTION
See module commented source for further details.
Methods
OBJ RG::Reprof::Reprof->new( model_dir => PATH )
Default model_dir: /tmp/lkajan/root/share/reprof.
Returns new instance of RG::Reprof::Reprof.
int $OBJ->run( input_file => PATH, out_file => PATH, mutation_file => PATH, specific_models => hashref, output_func => coderef )
out_file may be a directory.
mutation_file may be undefined.
specific_models may be undefined.
This is a hash of model and feature files with 'model_name' keys like:
{
'fub_model' => '/path/to/model_file',
'fub_features' => '/path/to/features_file'
}
Check the module source for the list for model names.
void output_func( out_file, sec_pred, acc_pred, sequence ) - function to call when output is ready.
If undefined, the built-in write_output() function is called that prints results to one or more files. The following positional
parameters are passed to this function:
out_file
Output file name.
sec_pred
Secondary structure prediction, see source for details.
acc_pred
Accessibility prediction, see source for details.
sequence
Reference to array of residues of input sequence (e.g. [ 'M', 'A', 'G', ... ] ).
AUTHOR
Original version by Peter Hoenigschmid <hoenigschmid@rostlab.org> and Burkhard Rost.
Some perl module work and documentation by Laszlo Kajan <lkajan@rostlab.org>.
SEE ALSO
<http://rostlab.org/>
perl v5.14.2 2012-01-13 RG::Reprof(3pm)