I have files which there is one column that I want to filter by number of member:
6,6,6,6,6,6,6,6,6,6
6,6,6
I want to remove all line which the number of member is less than 5. I decide to go with 'filter' tool in galaxy main
len(c1.split(',')) < 5
However, the tool skip my data.
######################
Filtering with len(c1.split(',')) < 5 , kept 0.00% of 2 valid lines (2 total lines). Skipped 2 invalid line(s) starting at line #1: "6,6,6,6,6,6,6,6,6,6"
###################
I thought it's the column issue, but it seem that it's not. For example, I can use
'''
Filtering with len(c1)==5, kept 50.00% of 2 valid lines (2 total lines).
'''
Any idea where the issue come from?
Thank you