Search Results

Search: Posts Made By: vanesa1230
2,779
Posted By Scrutinizer
Hi Eagl€, you probably mean: egrep '>|^[AGC]*$'...
Hi Eagl€, you probably mean:
egrep '>|^[AGC]*$' infile
But I do not think that works here, since then you filtering on the fact that there happens to be no T present on the lines with 3 characters,...
2,779
Posted By EAGL€
egrep '>|^[A,G,C]*$' infile
egrep '>|^[A,G,C]*$' infile
2,779
Posted By Scrutinizer
egrep '^>|^[A-Z]{3}$' infile egrep...
egrep '^>|^[A-Z]{3}$' infile
egrep '^(>|[A-Z]{3}$)' infile
2,158
Posted By pseudocoder
while read pattern; do grep "^$pattern [0-9]"...
while read pattern; do
grep "^$pattern [0-9]" file1
done <file2
2,779
Posted By pseudocoder
egrep '>|^[A-Z][A-Z][A-Z]$' infile
egrep '>|^[A-Z][A-Z][A-Z]$' infile
2,129
Posted By bartus11
awk '/^\[/{s+=1;next}{if (s!=0) print s;s=0}' file
awk '/^\[/{s+=1;next}{if (s!=0) print s;s=0}' file
1,987
Posted By pseudocoder
$ sed '/^DEFINITION/,/^ORIGIN/d' input | sed...
$ sed '/^DEFINITION/,/^ORIGIN/d' input | sed '/LOCUS /s//>/' | awk '/^>/{print $1} NR>1'
>NM_013964
1 gcgcctgcct ccaacctgcg ggcgggaggt gggtggctgc ggggcaattg aaaaagagcc
61 ggcgaggagt tccccgaaac...
Showing results 1 to 7 of 7

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