How to perform low read counts removal from excel (count table) manually ?
I want to highlight cells/remove rows, which contain less than 5 counts in all the samples. How to do this ?
https://www.dropbox.com/s/96pw1vldjar2biv/sample.xlsx?dl=0
Regards, Dinesh
sequence
sequencing
gene
• 2,403 views
•
link
updated
by
cpad0112
•
written
by
sankadinesh •
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
Add a value or character in a particular cell (A1) in excel using R studio
written by sankadinesh •Dear All, I want to do this Add a value or character in a particular cell (e.g. A1) in excel using R. Please help Thanks …
-
dereplicate sequences in count table
written by sankadinesh •Dear All, I have a count table file, I want to remove sequences present more than one time and keep only representative sequence and merge …
-
How to arrange column one below another from side by side in a matrix?
written by sankadinesh •I have a distance matrix file (Excel format) like this. I want to arrange columns to one below another from side by side. I have …
-
How to include samples names in assignTaxonomy of DADA2
written by sankadinesh •Dear All, I gave carried out assignTaxonomy for 3 samples using the following command. I would like to know how to include sample names to …
-
How to convert protein IDs to nucleotide acc id in eutilities ?
written by sankadinesh •I have a excel sheet with protein ID. I want to convert them to nucleotide id. How to do this using eutilies or any other …
-
How to swap the headers between fasta files ?
written by sankadinesh •Dear All, I have two files file1.fasta file2.fasta. Both contain same sequences but different headers. I want to swap the headers of file 2 to …
-
How to convert the VCF file into the haplotype format?
written by r00628112 •Hello~ everyone As the title mentioned, does anyone know how to convert the VCF file into this kind of haplotype format as the attached figure(https://www.dropbox.com/s/8o2yt6gbikocjo2/200123-haplotype.png?dl=0) …
-
why pvclust is not identifying significant clusters?
written by blacktomato27Dear all good evening i am making bootstrap dendrogram in R and goal is to identify siginificant clusters out of tree with PVCLUST package. I …
-
how to remove dashlines when generating pdf from postscript using ps2pdf
written by xiachongjing •Hi everyone: I have a postscript file, I use ps2pdf to generate pdf figure from postscript file. The postscript file was generated from mummerplot. However, …
-
perl code to extract sequences from multi-line fasta works on all test files but not on research fi…
written by kdiaz17 •I have headers from a BLAST output file that I would like to create a subset database from for use in HMMer, so I pulled …
In example file, OTU 8 and OTU 9 values are wrong between right and left data. To filter rows with less than 5 in any one of the sample (for the example excel sheet), do following
=IF(COUNTIF(B2:F2,"<5")<5,1,0)Example sheet has 5 samples (columns) and 10 OTUs (rows)
Hi there, Thanks a lot. Your suggestion worked like a charm. Can you please tell me what does 5,1,0 mean in the formula '=IF(COUNTIF(B2:F2,"<=5")<5,1,0)'
Regards, Dinesh
=IF(COUNTIF(B2:F2,"<5")<5,1,0)is a combination of two formulas.IFcondition works like this:IF (condition, value if condition is true, value if condition is not true). In above case, IF condition validates output fromcountif. If output fromcountifless than 5, then value is 1, if not, it not it's 0.countifcounts number of cells with cell value less than 5. In this context,countifoutputs number of samples (columns) with less than 5 reads, for that OTU (row).Logic is for any given OTU, count of samples with less than 5 reads, should not be equal to number of samples (in this case 5 - used in
IFcondition). If they are equal, all the samples for that OTU, have less than 5 reads.HI there, One quick question, I want to highlight OTUs that contain less than <5 count across the samples. If one OTU has more than 5 counts in one sample and 0 in all other samples, I want to keep that OTU, . I am attaching the modified excel again with original data. The formula given has worked for the sample dataset but not for large data. Is there any reason ? If so, any alternatives can you please suggest. Thanks for spending your valuable time.
https://www.dropbox.com/s/96pw1vldjar2biv/sample_modified.xlsx?dl=0
Regards, Dinesh
Samples are 42 and example set has 5. You have used the same formula (used for 5 sample data), for a 42 sample data. For 42 samples, formula would be:
=IF(COUNTIF(B2:AQ2,"<5")<42,1,0).I have added formula and conditionally formatted with color here: https://docs.google.com/spreadsheets/d/1EpmEyPopj7T2ndDmH0e-lze6PaPyXcnl/edit?usp=sharing&ouid=116988544834045239536&rtpof=true&sd=true. (download the file, do not open with google sheets)