How can I extract all the GCA_0000000. from bac120.tree?
0
0
Entering edit mode
5 months ago
anran04100 • 0

The bac120.tree is like follows

Huge screenshot of a tree

So I wrote a Perl script but it turns out only print the first GCA_003754355. ,but I want all the GCA. What's wrong with my code?

enter image description here

gene • 154 views
ADD COMMENT
0
Entering edit mode

Check this StackOverflow post: How can I capture multiple matches from the same Perl regex?.

Please, there is no reason to post images of text here. As the script is small, you should post it here, using the code buttion (101010) to properly format the code. Also, it is really helpful if one provides a small reproducible example.

ADD REPLY
0
Entering edit mode

Sorry. I will pay more attention to this the next time. I have solved this problem. Thank you anyway!

ADD REPLY

Login before adding your answer.

Traffic: 2296 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6