More posts like this
-
seqan local alignment returns incorrect score
written by RynT •<p>Hi, I am using SeqAn 1.3 installed using the debian package seqan-apps on Ubuntu 14.04. I am getting what appears to be an incorrect score …
-
mutually add a tab in the beggining of the header to make it a valid RMA format
written by zizigolu<p>Hello friends, please help me</p> <p>i entered these codes, but whenever i use the output as input to geworkbench, it says that" <strong>could not parse …
-
[Excel] Generate a similarity matrix on non-continuous values, ignoring empty cells
written by Kame •<p>Dear all,</p> <p>I have this matrix of non-continuous, independent data (let's call them "a", "b", "c").</p> <pre> <code>Variable 1 Variable 2 Variable 3 Sample 1 …
-
subset fastq file
written by cara78 •<p>Hello,</p> <p>I have a question on perl coding to create a subset of a fastq file. I most take every 40th seqence from a larger …
-
Applying a task to several files in R
written by viniciushs88<p>I would to apply a loop in R to process several files, one file per time. The files have exactly the same pattern, just the …
-
Vcf File From Mpileup ... What Next
written by Dataminer<p>Hi,</p> <p>I have done variant calling on my file using <a href='http://samtools.sourceforge.net/'>samtools</a> mpile up and I have converetd my file from bcf to vcf. </p> …
-
Dexseq: Problem With Constructing An Exoncountset
written by hoangtv •<p>Hi, Could anyone please help me to solve the problem with making an ExonCountSet? I am new to R, so I am struggling now. I …
-
Chrx Genotype Counts In Esp6500 Exomes
written by Caddymob<p>Does anyone know the format of how the NHLBI reports the genotypes for chromosome X varriants? If we look at the example <code>rs6525447</code> we get …
-
Error Loading Vcf File In Ucsc Genome Browser
written by win<p>Hi all, I generated a vcf file using samtools and the wanted to load it into UCSC Genome Browser as suggested at this link</p> <p><a …
-
How To Distinguish Heterozygotes And Homozygotes From Variants In Vcf Format?
written by Shinvkuo<p>Hello, Recently, I used <a href='http://samtools.sourceforge.net/'>samtools</a> to call variants and got the results in VCF format. I need to distinguish heterozygotes and homozygotes for each …
I think (not sure) grep give you the number of rows with "Chr" in it. So if you have two "Chr" in one row, it will count only as one.
Check spelling, try without the case-sensitive search, and see if there is a newline issue. Also, an example of your text file would be helpful to see what you are trying to match.
also try this.
There is no spelling or case issue? What is the newline issue, please?
Hello,
Thank you very much for your reply. I checked spelling, tried case-sensitive search, and found only one "Chr" in one row. I tried all comands kindly provided here, but still could not get the right number. By the way, what is the newline issue?
What do you mean, the right number? grep doesn't make mistakes. It's going to find how many lines have "Chr" in them. What do you want it to do instead? Give an example of the data file please.
New line issue: https://en.wikipedia.org/wiki/Newline#Common_problems
Hello chchl7!
This isn't a bioinformatics question so this post does not fit the main topic of this site. There are other sites that deal with questions like this, http://superuser.com springs to mind.
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.
Also, please don't post additional comments as answers to your question, use the top level comments if responding to someone who has commented, rather than answered the question.