Hi all,
I have the following input - the unique row key is 1st column
cat file.txt
A response
C request
C response
D request
C request
C response
E request
The desired output should be
C request (7 Replies)
Hi,
I have a tab delimited text file where I want to delete all rows that have the same string for column 1. How do I go about doing that? Thanks!
Example Input:
aa 1
aa 2
aa 3
bb 4
bc 5
bb 6
cd 8
Output:
bc 5
cd 8 (4 Replies)
Is it possible to modify file like this.
1. Remove all the duplicate names in a define column i.e 4th col
2. Count the no.of unique names separated by ";" and print as a 5th col
thanx in advance!!
Q
input
c1 30 3 Eh2
c10 96 3 Frp
c41 396 3 Ua5;Lop;Kol;Kol
c62 2 30 Fmp;Fmp;Fmp
... (5 Replies)
Dear fellows, I need your help.
I'm trying to write a script to convert a single column into multiple rows.
But it need to recognize the beginning of the string and set it to its specific Column number.
Each Line (loop) begins with digit (RANGE).
At this moment it's kind of working, but it... (6 Replies)
Hi there,
I need a help with extracting data from tab delimited file which look like this
#CHROM POS ID REF ALT Human Cow Dog Mouse Lizard
chr2 3033 . G C 0/0 0/0 0/0 1/1 0/0
chr3 35040 . G T 0/0 0/0 ./. 1/1 0/1
chr4 60584 . T G 1/1 1/1 0/1 1/1 0/0
chr10 7147815 . G A 0/0 1/1 0/0 0/0... (9 Replies)
Hi, I have tab-deliminated data similar to the following:
dot is-big 2
dot is-round 3
dot is-gray 4
cat is-big 3
hot in-summer 5
I want to count the frequency of each individual "unique" value in the 1st column. Thus, the desired output would be as follows:
dot 3
cat 1
hot 1
is... (5 Replies)
Background:
I have a file of thousands of potential SSR primers from Batch Primer 3.
I can't use primers that will contain the same sequence ID or sequence as another primer.
I have some basic shell scripting skills, but not enough to handle this.
What you need to know:
I need to remove the... (1 Reply)
Discussion started by: msatseqs
1 Replies
LEARN ABOUT DEBIAN
qwttextlabel
QwtTextLabel(3) Qwt User's Guide QwtTextLabel(3)NAME
QwtTextLabel -
A Widget which displays a QwtText.
SYNOPSIS
#include <qwt_text_label.h>
Inherited by QwtLegendItem.
Public Slots
void clear ()
void setText (const QString &, QwtText::TextFormat textFormat=QwtText::AutoText)
virtual void setText (const QwtText &)
Public Member Functions
virtual int heightForWidth (int) const
int indent () const
int margin () const
virtual QSize minimumSizeHint () const
QwtTextLabel (const QwtText &, QWidget *parent=NULL)
QwtTextLabel (QWidget *parent=NULL)
void setIndent (int)
void setMargin (int)
virtual QSize sizeHint () const
const QwtText & text () const
QRect textRect () const
virtual ~QwtTextLabel ()
Protected Member Functions
virtual void drawContents (QPainter *)
virtual void drawText (QPainter *, const QRect &)
virtual void paintEvent (QPaintEvent *e)
Detailed Description
A Widget which displays a QwtText.
Constructor & Destructor Documentation
QwtTextLabel::QwtTextLabel (QWidget *parent = NULL) [explicit] Constructs an empty label.
Parameters:
parent Parent widget
QwtTextLabel::QwtTextLabel (const QwtText &text, QWidget *parent = NULL) [explicit] Constructs a label that displays the text, text
Parameters:
parent Parent widget
text Text
QwtTextLabel::~QwtTextLabel () [virtual]
Destructor.
Member Function Documentation
void QwtTextLabel::clear () [slot]
Clear the text and all QwtText attributes.
void QwtTextLabel::drawContents (QPainter *painter) [protected, virtual]
Redraw the text and focus indicator.
void QwtTextLabel::drawText (QPainter *painter, const QRect &textRect) [protected, virtual]
Redraw the text.
Reimplemented in QwtLegendItem.
int QwtTextLabel::heightForWidth (intwidth) const [virtual] Returns the preferred height for this widget, given the width.
Parameters:
width Width
int QwtTextLabel::indent () const
Return label's text indent in pixels.
int QwtTextLabel::margin () const
Return label's text indent in pixels.
QSize QwtTextLabel::minimumSizeHint () const [virtual]
Return a minimum size hint.
void QwtTextLabel::paintEvent (QPaintEvent *event) [protected, virtual] Qt paint event
Parameters:
event Paint event
Reimplemented in QwtLegendItem.
void QwtTextLabel::setIndent (intindent) Set label's text indent in pixels
Parameters:
indent Indentation in pixels
void QwtTextLabel::setMargin (intmargin) Set label's margin in pixels
Parameters:
margin Margin in pixels
void QwtTextLabel::setText (const QwtText &text) [virtual, slot] Change the label's text
Parameters:
text New text
Reimplemented in QwtLegendItem.
void QwtTextLabel::setText (const QString &text, QwtText::TextFormattextFormat = QwtText::AutoText) [slot] Change the label's text, keeping all
other QwtText attributes
Parameters:
text New text
textFormat Format of text
See also:
QwtText
QSize QwtTextLabel::sizeHint () const [virtual]
Return label's margin in pixels.
Reimplemented in QwtLegendItem.
const QwtText & QwtTextLabel::text () const
Return the text.
QRect QwtTextLabel::textRect () const Calculate the rect for the text in widget coordinates
Returns:
Text rect
Author
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Version 5.2.2 Mon Aug 1 2011 QwtTextLabel(3)