Hi

I"m still really new to BASH (and informatics in fact). I have extracted a contig into a .txt file, but I also have the information as one fasta within a multiple fasta file. I want to get one area of sequence that is in one contig "out" so I can BLAST it and do other things. What's a good way of doing this using BASH? (or something else simple in the command line).

So I want to...

take a sequence with about 750 000 bp in it, and I want only the sequence from position 60 000 to 75 000.

I feel like I should be able to combine grep and then control the grep command for specific lines into the file, then print to a .txt file...?

Thanks

Loren

Similar questions and discussions