I'm checking the presence of genes in at least 95% of the analyzed bacteria, and to do this is necessary read a CSV file using python. This file contains 15 columns corresponding to the name of the bacteria, and the rows is about the presence (value >= 1) or absence (value <= 0) of the genes, but it's necessary skip the first column and pass through each row of each column and return if the value of the lines is <=0 or >=1. So, I'm stuck in how to skip the first column using CSV library in python.
Thanks
You'd be best off working on this data in the
pandas
module. What you're asking is an XY problem. You don't need to ignore the first column specifically, you just need to query the relevant column of the data table. i.e.:print all rows of the dataframe where column X =< 0 && X >= 1
.You should give this a go first, as its not a difficult problem with the right tools, and being able to perform queries like this on a dataframe is a very powerful skill.
Make an attempt, show us what code you come up with, and we'll be happy to help you further.
Please show us what you tried. This is also more programming than bioinformatics and might get closed for that reason.