Search Results

Search: Posts Made By: sargotrons
1,565
Posted By sargotrons
@rbatte1 Seems perfect, I'll try it later on. ...
@rbatte1
Seems perfect, I'll try it later on.
Update you on the results later on.

Many thanks!

---------- Post updated 07-11-14 at 11:46 AM ---------- Previous update was 06-11-14 at 05:51 PM...
1,565
Posted By sargotrons
OK, I'll try to simplify with an example and...
OK, I'll try to simplify with an example and remove the non essential for the question.
Thanks.

---------- Post updated at 05:19 PM ---------- Previous update was at 04:50 PM ----------

Using...
1,565
Posted By sargotrons
Edit $args within a command
Hi,
I'm using a while loop for a given command "bowtie2" with several parameters.

mkdir clean
paste <(ls --quote-name ./qc/sg_*_R1_val_1.fq.gz) <(ls --quote-name ./qc/sg_*_R2_val_2.fq.gz) |sed...
6,194
Posted By sargotrons
Thanks, I will have a look to see i can...
Thanks, I will have a look to see i can understand the logic of the array, that seems more pratical since my actual input file has 26 columns.

Thank you both for the fast help! I might be back...
6,194
Posted By sargotrons
Yes I tried to modify this example I found here...
Yes I tried to modify this example I found here in this forum,
awk '{A[$1]+=$2;next}END{for(i in A){print i,A[i]}}'
I'm pretty newbie, and mostly the way I'm learning is by googling similar...
6,194
Posted By sargotrons
Sum column values based in common identifier in 1st column.
Hi,
I have a table to be imported for R as matrix or data.frame but I first need to edit it because I've got several lines with the same identifier (1st column), so I want to sum the each column...
2,080
Posted By sargotrons
Skrynesaver, just two specific questions: ...
Skrynesaver,
just two specific questions:

1.How to make the @aoh accepting numbers in scientifc format, or even diferent characthers as text?

2.How to make headers with input file name?

Now...
2,080
Posted By sargotrons
Thanks for the reply Skrynesaver, I tried your...
Thanks for the reply Skrynesaver,
I tried your script (I named it "index?counts.pl") after making it executable, with the following command line:

but I got the following error

which...
2,080
Posted By sargotrons
create table file from different files with index
Hi,
I've several files with two collumns, where first collumn can be used as index.

filename1


and filename2


how to create a file

I should start with cat all files and extract first...
2,192
Posted By sargotrons
Is exactly that, to be specific in which line it...
Is exactly that, to be specific in which line it replace, in my case from the 2nd and then every 4th plus line.
Thank you both!
2,192
Posted By sargotrons
But it will remove if is 1st character in every...
But it will remove if is 1st character in every line? I might have "T" in 4th, 8th, 12th,... that I don't want to remove. Either way if that's the case, further upstream I will have a error warning.
2,192
Posted By sargotrons
Perfect! 's,^T,,g' ---> Going to look who is...
Perfect!
's,^T,,g' ---> Going to look who is who and doing what...

cheers!
1,732
Posted By sargotrons
Another option alternative to dos2unix is using...
Another option alternative to dos2unix is using texpad instead of notepad, where you can save in unix format. But when migrating files from windows is always a good procedure to do dos2unix.
2,192
Posted By sargotrons
Remove 1st character in periodic lines
Hi,
I have a file that looks like this, the unity of information is composed of four lines, and these extends for millions.



My objective is to remove the highligthed "T".



How to attack...
Showing results 1 to 14 of 14

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