In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "linux operation command example analysis". In daily operation, I believe many people have doubts about linux operation command example analysis. The editor consulted all kinds of data and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "linux operation command example analysis". Next, please follow the editor to study!
Extract the rar compressed file tar-xf GSE58831_RAW.tar
Extract the gz compressed file for i in $(ls * .gz) in batches; do bgzip-d $I position done
Cut specifies the delimiter to split the file
Someone asked to change the name of the fasta sequence in batches. His fasta file format is
> seq1 | blabla
ATCG
> seq2 | bbbbb
ATCG
He wants to remove all the contents after the vertical bar of the sequence name. My own idea is to python, identify the line that begins with the greater than sign, and then split the string with the vertical bar, which can be written into the file. A teacher in the group directly gives the cut command of linux.
Cat pra.fasta | cut-d "|"-f 1
Simple and clear
-d specifies the delimiter, and-f specifies the first column after the output is split
There is also a problem.
In the linux system, the administrator installed the R language, some packages are placed in the specified location. Every time I want to call these package changes under my own account, I find out that one way is to use .libPaths ()
For example, enter the command after the R language starts.
LibPaths (c ("/ A/B/C")) at this point, the study on "linux operation command example analysis" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.