10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We have around 1000 scripts in a specific folder like mcx001.txt, mcx002.txt, mcx999.txt, mce001.txt etc
We need to rename those files where 3rd character is "x" and should be replaced by "y".
So files should be renamed to mcy001.txt, mcy002.txt, mcy999.txt
Also, mcx001.txt have content... (5 Replies)
Discussion started by: vedanta
5 Replies
2. Shell Programming and Scripting
Hello,
I'm using Windows 7 ; sed, awk and gnuwin32 are installed.
I have a big text file I need to manipulate.
In short, I will have to split it in thousands of short files, then rename and save in a folder which name is based upon filename.
Here is a snippet of my big input.txt file (this... (4 Replies)
Discussion started by: sellig
4 Replies
3. Shell Programming and Scripting
Hi,
Below is my input file:
c116_g1_i1 -,-,-,+
c118_g2_i1 +,+
c118_g3_i1 +
c120_g1_i1 +,+,+,+
.
.
Desired Output File
c116_g1_i1 -
c116_g1_i1 -
c116_g1_i1 -
c116_g1_i1 +
c118_g2_i1 +
c118_g2_i1 + (3 Replies)
Discussion started by: perl_beginner
3 Replies
4. Shell Programming and Scripting
Input file:
data21_a0_result1
data23_a1_result1
data43_a0_result1
data43_a1_result2
data43_a0_result3
data3_c0_result1
data3_c1_result1
data423_c0_result1
data423_c1_result1
data423_a0_result1
.
.
data9_c1_result1
Desired output file:
data1_result1
data2_result1 (3 Replies)
Discussion started by: cpp_beginner
3 Replies
5. Shell Programming and Scripting
Format of one input file:
# >length=1
seq program data 909 1992
seq program record 909 1190
Desired output result:
# >length=1
length=1 program data 909 1992
length=1 program record 909 1190
I wanna to replace all the column 1 content (exclude the content start with "#") with the... (5 Replies)
Discussion started by: cpp_beginner
5 Replies
6. Shell Programming and Scripting
input file:
hsa-miR-4726-5p
Score
hsa-miR-483-5p
Score
hsa-miR-125b-2*
Score
hsa-miR-4492
hsa-miR-4508
hsa-miR-4486
Score
Desired output file:
hsa-miR-4726-5p Score hsa-miR-483-5p Score hsa-miR-125b-2* Score hsa-miR-4492 hsa-miR-4508 hsa-miR-4486 Score ... (6 Replies)
Discussion started by: perl_beginner
6 Replies
7. Shell Programming and Scripting
I got long list of reference file
>data_tmp_number_22
>data_tmp_number_12
>data_tmp_number_20
.
.
Input file:
>sample_data_1 Math, 5, USA, tmp
SDFEWRWERWERWRWER
FSFDSFSDFSDGSDGSD
>sample_data_2 Math, 15, UK, tmp
FDSFSDFF
>sample_data_3 Math, 50, USA, tmp
ARQERREQR
.
.
Desired... (7 Replies)
Discussion started by: perl_beginner
7 Replies
8. Shell Programming and Scripting
Input file 1:
>pattern_5
GAATTCGTTCATGTAGGTTGASDASFGDSGRTYRYGHDGSDFGSDGGDSGSDGSDFGSDF
ATTTAATTATGATTCATACGTCATATGTTATTATTCAATCGTATAAAATTATGTGACCTT
SDFSDGSDFKSDAFLKJASLFJASKLFSJAKJFHASJKFHASJKFHASJKFHSJAKFHAW
>pattern_1
AAGTCTTAAGATATCACCGTCGATTAGGTTTATACAGCTTTTGTGTTATTTAAATTTGAC... (10 Replies)
Discussion started by: patrick87
10 Replies
9. Shell Programming and Scripting
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)
Discussion started by: patrick87
11 Replies
10. Shell Programming and Scripting
Hi,
Long list of Input file1 content:
1285_t
4860_i
4817_v
8288_c
9626_a
.
.
.
Long list of Input file2 content:
1285_t chris germany
8288_c steve england
9626_a dave swiss
9260_s stephanie denmark
.
.
. (14 Replies)
Discussion started by: patrick87
14 Replies