Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: patrick87
2,567
Posted By patrick87
Hi RudiC, It seems like no work when my data...
Hi RudiC,

It seems like no work when my data is huge?
eg.
Input file

cat input_file
>scaffold1|size134247
TCTCTGTCTCTCTCTCTCTCTCTCTCTCTCTCTCTCTCTCTCTCTCTCTGTGTGTGTGTGTGTGTGTGTGTGTGTGTG
...
2,567
Posted By patrick87
Help with reformat single-line multi-fasta into multi-line multi-fasta
Input File:

>Seq1
ASDADAFASFASFADGSDGFSDFSDFSDFSDFSDFSDFSDFSDFSDFSDFSD
>Seq2
SDASDAQEQWEQeqAdfaasd
>Seq3
ASDSALGHIUDFJANCAGPATHLACJHPAUTYNJKG
......

Desired Output File

>Seq1...
825
Posted By patrick87
Execution problem with print out record that follow specific pattern
Hi,

Do anybody know how to print out only those record that column 1 is "a" , then followed by "b"?
Input file :

a comp92 2404242 2405172
b comp92 2405303 2406323
b ...
826
Posted By patrick87
sed -n '522484612' input_file Good luck.
sed -n '522484612' input_file


Good luck.
912
Posted By patrick87
Help with merge data based on similarity
Input_file

data1 USA 100 ASE
data3 UK 20 GWQR
data4 Brazil 40 QWE
data2 Scotland 60 THWE
data5 USA 40 QWERR
Reference_file

USA 12312 ...
2,156
Posted By patrick87
Help with sum total number of record and total number of record problem asking
Input file

SFSQW 5192.56
HNRNPK 611.486
QEQW 1202.15
ASDR 568.627
QWET 6382.11
SFSQW 4386.3
HNRNPK 100
SFSQW 500

Desired output file

SFSQW 10078.86 3
QWET 6382.11 1 ...
2,152
Posted By patrick87
Hi singh, I just edit my question. ...
Hi singh,

I just edit my question.
Hopefully it is more clear now.
Thanks for your advice.
2,152
Posted By patrick87
Hi ROHON, I just try it out. It seems like...
Hi ROHON,
I just try it out.
It seems like can't get desired output result?
Thanks.

---------- Post updated at 05:14 AM ---------- Previous update was at 05:05 AM ----------

Thanks for your...
2,152
Posted By patrick87
Help with remove duplicate content and only keep the first content detail
Input

data_10 SSA
data_2 TYUE
data_3 PEOCV
data_6 SSAT
data_21 SSA
data_19 TYUEC
data_14 TYUE
data_15 SSA
data_32 PEOCV
.
.
Desired Output

data_10 SSA
data_2 TYUE
data_3 PEOCV...
1,098
Posted By patrick87
Replace character based on reference file problem asking
I got two files right now, input file (target file), reference file 1 (query file)

reference file 1 (long list of data)

KOLOPWMOPOPO
ADASDASD
ADSASDASDAD
.
.
target file (one long liner...
1,904
Posted By patrick87
Thanks a lot for your remind, methyl. Sorry for...
Thanks a lot for your remind, methyl.
Sorry for confusing you :(
I just edit my question.
Hopefully it is better to understand this times.
1,904
Posted By patrick87
Three Difference File Huge Data Comparison Problem.
I got three different file:
Part of File 1

ARTPHDFGAA
.
.


Part of File 2

ARTGHHYESA
.
.


Part of File 3

ARTPOLYWEA
.
.
2,159
Posted By patrick87
Thanks again, Franklin52 Your awk script is...
Thanks again, Franklin52
Your awk script is wonderful and worked perfectly in my case :)

---------- Post updated at 10:35 AM ---------- Previous update was at 10:33 AM ----------

Sorry my...
2,159
Posted By patrick87
Sorry for confusing you :( As long as the...
Sorry for confusing you :(
As long as the letter (less or equal to 3 letter ) before the first "X" and after the last "X" is not "X".
I will replace those letter with "X"
2,159
Posted By patrick87
Hi michaelrozar17, My input file is a long...
Hi michaelrozar17,

My input file is a long list of data and "Read_1" just part of it.
I just not sure how to archive it automatic if my input data is a long list of data :)
2,159
Posted By patrick87
Hi durden_tyler, Thanks for your reply. I...
Hi durden_tyler,

Thanks for your reply.
I just edit a little bit of my previous post due to my small mistakes.
Do you have any idea to archive it?
As long as the letter (less or equal to 3...
2,159
Posted By patrick87
Scan and change file data content problem
Input file

>Read_1
XXXXXXXXXXSDFXXXXXDS (condition 1: After the last "X" per line, if the distance is less than or equal to 3 letter, replace those not "X" letter with "X")
TREXXXXXXXSDFXXXXXDS...
1,400
Posted By patrick87
Hi bartus11, Thanks for your perl command. Do...
Hi bartus11,
Thanks for your perl command.
Do you have any idea if my input data is shown as below:

>Read_1
XXXXXXXXXXSDFXXXXXDS (condition 1: After the last "X" per line, if the distance is...
2,549
Posted By patrick87
hi rdcwayx, Why it seems like both of the below...
hi rdcwayx,
Why it seems like both of the below command is not working properly?

for i in $(cat reference.txt)
do
sed -i "s/$i/XXXXXXXXXXXXXXX/g" input # if your sed don't support -i...
1,400
Posted By patrick87
Execution Problems with scan and change file data content
Input file

>Read_1
XXXXXXXXXXSDFXXXXXDS
ASDRXXXXXTGAGTXXXXXT
TGTGATXXXXXAXXXXGXXA
.
.

Desired output file

>Read_1
XXXXXXXXXXXXXXXXXXDS
ASDRXXXXXTGAGTXXXXXT
TGTGATXXXXXXXXXXXXXA
.
.
899
Posted By patrick87
Execution problems when added two same content in each line
Input:

>sample_1
ASDAFDGSGH
>sample_2
ASDFDAFDSFS
>sample_3
ASDAFDAFDFD
>sample_4
ASDFDFDSFDSF
.

Desired output

>sample_1
ASDAFDGSGHXX
>sample_2
ASDFDAFDSFSXX
>sample_3...
2,549
Posted By patrick87
Thanks a lot, rdcwayx :) Can I ask you what is...
Thanks a lot, rdcwayx :)
Can I ask you what is the meaning of "nohup"?
Is it also a command?
Thanks ^^

---------- Post updated at 01:54 AM ---------- Previous update was at 01:41 AM ----------...
2,549
Posted By patrick87
Hi rdcwayx, If my referral data (3560...
Hi rdcwayx,

If my referral data (3560 different referral data) and input data (around 20MB) is very huge, do you got any better solution to improve the performance of replace the data based on...
2,170
Posted By patrick87
Hi rdcwayx, Really thanks for your help in awk...
Hi rdcwayx,
Really thanks for your help in awk :)
2,170
Posted By patrick87
Hi rdcwayx, Do you got any idea to archive the...
Hi rdcwayx,
Do you got any idea to archive the below goal?
file_1

>sample_1
FKGJGPOPOPOQA
ASDADWEEWERE
ASDAWEWQWRW
ASDASDASDASDD

file_2

>sample_1
ASDFRPOPOPPWE
ASDADWEERTTY...
Showing results 1 to 25 of 242

 

Featured Tech Videos

All times are GMT -4. The time now is 12:42 AM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy