how to extract the file
I have a very large file and if the file name is "cleverboy.txt", I want to extract each line starts with numbers and its previous line, how can I do this? Thank you very much!
assembly
• 819 views
•
link
updated
by
Ram
4.5K
• |
written
by
cleverboy121
0
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
Extract protein sequence
written by anna 2I have a large fasta file of new species, I want to find extract a particular protein sequence. I also know a protein sequence of …
-
Mapping reads to a very small reference
written by victoriahristovaa 0Hello! I have two short genomic sequences, ~2700 bases each. I want to map short reads (Illumina TruSeq paired-end reads) to each of the ~2700 …
-
Filter contig fasta file by GC content
written by victoriahristovaa 0Hello! I have a de novo built contig file (contigs.fasta), assembly is done in SPAdes. From this file, I need to extract only the node …
-
I have to extract organism and host name from a NCBI .gp file but grep code is not creating somethi…
written by oncelmiran6 1Hello everyone, I have to extract accesion number and related host name from a .gp file that contains my meta data for a fasta file. …
-
How to separate Miseq data and Hiseq data
written by Bioinfo 2Hello everyone please i have question i have a file containing Mi seq data and Hi seq data Hi seq reads starts with @HI and …
-
How to extract pattern matching sequences from a fasta file?
written by marlenejensen 2Hi :) I have a huge fasta file containing sequences from several organisms (endosymbiosis) and I want to extract the sequences for each organism respectively. …
-
Extract somatic mutations and germline mutations from variant calling files?
written by ginnyli056 1Hi all, I'm wondering how one can extract germline and somatic mutations from the variants calling file. I have some patients and I have the …
-
How to randamly extract reads from a FASTQ file?
written by biolab 143Hi everyone, I want to randomly extract some numbers of reads from a fastq file, and save as a new smaller fastq file. Is there …
-
What command generate blast database from file in all.fna folder?
written by Ongkrab 3I downloaded genome of Bacteria, which file name is `all.fna.tar.gz` from ftp://ftp.ncbi.nlm.nih.gov/genomes/Bacteria/. Next I extract file I got folder all.fna. I want to generate all …
-
Problem Of Using Subseq In Seqtk
written by ymwur1 1<p>Hi, I try to extract sequences from a fastq file using the "subseq" in seqtk. But the extract file contains only the 1st sequence but …
Hello cleverboy121!
We believe that this post is does not fit the main topic of this site.
This isn't a bioinformatics question. Also, you can use grep (use a regex and the "-B 1" option). If you update this such that it's relevant to bioinformatics then I'll reopen it.
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!