Question: remove new line in a FASTA file
0
gravatar for Mic
3.4 years ago by
Mic70
Australia
Mic70 wrote:

Hi, how is it possible to remove new line before scaffold_3 in the below FASTA file in Galaxy:

    >scaffold_1
    ACTG
    >scaffold_2
    TGCA

    >scaffold_3
    ACTG

Thank you in advance,

Mic

 

 

galaxy • 291 views
ADD COMMENTlink modified 3.4 years ago by Jennifer Hillman Jackson25k • written 3.4 years ago by Mic70
3
gravatar for Jennifer Hillman Jackson
3.4 years ago by
United States
Jennifer Hillman Jackson25k wrote:

Hello,

Use the "Select" tool, "Not Matching", along with the regular expression "^$" (no quotes).

More about fasta formating is in the Galaxy wiki. This particular operation covered in item 3 of the Custom Genome Troubleshooting table:
https://wiki.galaxyproject.org/Learn/CustomGenomes#Troubleshooting

Best, Jen, Galaxy team

ADD COMMENTlink modified 3.4 years ago • written 3.4 years ago by Jennifer Hillman Jackson25k

Admin update: The wiki was migrated to the newer https://galaxyproject.org/ site. This CG help is mostly the same, with a few updates to reflect changes in Galaxy since the original post was made. The original link redirects to the help here now:

Support FAQs: https://galaxyproject.org/support/

ADD REPLYlink written 13 days ago by Jennifer Hillman Jackson25k
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: 180 users visited in the last hour