Entering edit mode
3.2 years ago
gubrins
▴
350
Heys,
I'm working with a fasta file with several individuals and I want to split them by a particular coordinate in the genome. I wrote this:
for i in $(cat fasta.file);
do
if [[ $i == *"coordinate"* ]];
then
echo $i AND THE NEXT LINE
fi
done
How can I say to print the next line, that in fact is the bases that I am interested in?
Thanks in advance!!
thanks, easier! I was complicating it too much