Question: select line including special content and the following row as well
0
gravatar for valasek
17 months ago by
valasek • 0
valasek • 0 wrote:

I am beginner using galaxy. I would like to assort my fasta dataset about mature miRNA from mirbase to contain only miRNA of rattus norvegicus. I tried to use 'Filter and Select - Select lines that match an expression' command but I was able to select title row that contain the rno-miRNA expression.

Is it possible define somehow to select the next line as well when it find the pattern?

Any suggestion is appreciated.

select galaxy • 376 views
ADD COMMENT • link • modified 17 months ago • written 17 months ago by valasek • 0
1
gravatar for Hotz, Hans-Rudolf
17 months ago by
Switzerland
Hotz, Hans-Rudolf • 1.8k wrote:

Convert your fasta file to a table (using the tool 'FASTA-to-Tabular'), run your selection, and convert the outcome back to fasta (using the tool Tabular-to-FASTA)

Hope this helps Regards, Hans-Rudolf

ADD COMMENT • link written 17 months ago by Hotz, Hans-Rudolf • 1.8k
0
gravatar for valasek
17 months ago by
valasek • 0
valasek • 0 wrote:

Thanks Hans-Rudolf. It works well.

ADD COMMENT • link written 17 months ago by valasek • 0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 182 users visited in the last hour