Search Results

Search: Posts Made By: matlavmac
6,610
Posted By matlavmac
I ALSO WOULD LIKE To replace the small case c at...
I ALSO WOULD LIKE To replace the small case c at the begining of chr by a capital case so my line is like this:


HWI-EAS422_12:4:1:69:89 GGTTTAAATATTGCACAAAAGGTATAGAGCGT U0 1 0 0 Chr8 6527777 F...
6,610
Posted By matlavmac
ok, i tried again with: less INPUT_FILE | perl...
ok, i tried again with: less INPUT_FILE | perl -pe 's/ref_(chr\w+)\.fa/$1/' > OUTPUT_FILE and it works great!!!


I ALSO WOULD LIKE To replace the small case c at the begining of chr by a capital...
6,610
Posted By matlavmac
yes i would need this transformation to be...
yes i would need this transformation to be applied to all the lines though, i will try it.
6,610
Posted By matlavmac
thanks for all your suggestion, vgersh99 and...
thanks for all your suggestion,
vgersh99 and ShawnMilo, I forgot to mention that the rest of the line is different for every line in my file.


cfajohnson, your suggestion is good, but i am...
6,610
Posted By matlavmac
Delete parts of a string of character in one given column of a tab delimited file
I would like to remove characters from column 7 so that from an input file looking like this:


>HWI-EAS422_12:4:1:69:89 GGTTTAAATATTGCACAAAAGGTATAGAGCGT U0 1 0 0 ref_chr8.fa 6527777 F DD

I get...
Showing results 1 to 5 of 5

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