Ronald Robertson

Sanjay Singh

Scientist/Writer
  • Emailsanjaysingh765@gmail.com
  • Socail@lampatlex
  • VisitorSince 1982
  • LocationKentucky, USA



How to Split Multi line FASTA Files with PERL Script



Recently someone anonymous (surprisingly most of the reader who comment on this blog are anonymous) asked for a PERL script to split a multi line fasta file to induvidual fasta file with single sequence. Some times if you have hundreds of sequences in a single file and want them to handle separately or in smaller size them it is really helpful to split them or separate them in several files. SO PERL scripts given below do the same job to split big multi line fasta files to small fasta files.



Script: split_fasta.pl 





Uses

perl split_fasta.pl -i input.txt -o result.txt -n 1000



The best thing about this script is that you can control the number of sequence per file you want. For example, if you have 60,000 sequences in a files and you will run the command given above so it will create 6,000 different files.



















  • How to Extract Multiple Sequence from Multi Fasta File with PERL

  • How to save perl script

  • Easiest Way To Install Perl on Windows


  • Comments

    design

    Onboarding Motivation

    Onboarding Motivation
    branding

    Delivery App Wireframe

    Delivery App Wireframe
    creative

    Guest App Walkthrough Screens

    Guest App Walkthrough Screens
    art

    Project Managment Illustration

    Project Managment Illustration
    Photography

    Photography

    Lorem ipsum dolor sit amet consectetuer adipiscing elit aenean commodo ligula eget.

    Web Development

    Web Development

    Lorem ipsum dolor sit amet consectetuer adipiscing elit aenean commodo ligula eget.

    UI/UX design

    UI/UX design

    Lorem ipsum dolor sit amet consectetuer adipiscing elit aenean commodo ligula eget.

    Sanjay Singh

    Sanjay Singh

    I am lexicographer

    I'm a Scientist with 20+ years of broad experience in molecular biology and bioinformatics. Extensive experience in the regulation of metabolic pathways in plants. Proven success in the design, development, and deployment of several result-oriented research projects. Have worked with both academic and industrial collaborators.

    Get in touch

    Let's talk about everything!

    Don't like forms? Send me an email. 👋

    Experience

    2019 - Present

    Acamedic Degree

    Lorem ipsum dolor sit amet quo ei simul congue exerci ad nec admodum perfecto.

    2017 - 2013

    Bachelor’s Degree

    Lorem ipsum dolor sit amet quo ei simul congue exerci ad nec admodum perfecto.

    2013 - 2009

    Honours Degree

    Lorem ipsum dolor sit amet quo ei simul congue exerci ad nec admodum perfecto.

    2019 - Present

    Web Designer

    Lorem ipsum dolor sit amet quo ei simul congue exerci ad nec admodum perfecto.

    2017 - 2013

    Front-End Developer

    Lorem ipsum dolor sit amet quo ei simul congue exerci ad nec admodum perfecto.

    2013 - 2009

    Back-End Developer

    Lorem ipsum dolor sit amet quo ei simul congue exerci ad nec admodum perfecto.