Skip to main content
Post Reopened by GAD3R, dhag, sam, countermode, Archemar
Replaced runs of spaces with actual tabs, as the questions hints the input is TSV
Source Link
dhag
  • 16.3k
  • 4
  • 57
  • 66

I have a problem with removing columns from a file:.

My input.csv file (with tab)input.tsv:

Otu1    otu2    otu3    otu4 otu5   otu5
1    2    5    9    3  
8    9    8    4    2

I would like to remove a column if its header is listed in this file (removeremove.txt, e.txt)g.:

otu2  
otu3

So the result would be:

OtuOtu1 1   otu4 otu5   otu5
1     9    3  
8     4    2

How can I do this? (Sorry if it is not clear, I am French :) )

I have a problem with removing columns from a file:

My input.csv file (with tab)

Otu1 otu2 otu3 otu4 otu5  
1    2    5    9    3  
8    9    8    4    2

I would like to remove a column if its header is listed in this file (remove.txt)

otu2  
otu3

So the result would be:

Otu 1 otu4 otu5  
1     9    3  
8     4    2

How can I do this? (Sorry if it is not clear, I am French :) )

I have a problem with removing columns from a file.

input.tsv:

Otu1    otu2    otu3    otu4    otu5
1   2   5   9   3
8   9   8   4   2

I would like to remove a column if its header is listed in file remove.txt, e.g.:

otu2
otu3

So the result would be:

Otu1    otu4    otu5
1   9   3
8   4   2

How can I do this?

improved formatting
Source Link

I have a problem with removing columns from a file:

My input.csv file (with tab)
Otu1 otu2 otu3 otu4 otu5
1 2 5 9 3
8 9 8 4 2

Otu1 otu2 otu3 otu4 otu5  
1    2    5    9    3  
8    9    8    4    2

I would like to remove a column if its header is listed in this file

remove (remove.txt
otu2
otu3)

otu2  
otu3

So the result would be:

Otu 1 otu4 otu5
1 9 3
8 4 2

Otu 1 otu4 otu5  
1     9    3  
8     4    2

How can I do this? Thanks for your help! (Sorry if it is not clear, I am French :) )

I have a problem with removing columns from a file:

My input.csv file (with tab)
Otu1 otu2 otu3 otu4 otu5
1 2 5 9 3
8 9 8 4 2

I would like to remove a column if its header is listed in this file

remove.txt
otu2
otu3

So the result would be:

Otu 1 otu4 otu5
1 9 3
8 4 2

How can I do this? Thanks for your help! (Sorry if it not clear, I am French :) )

I have a problem with removing columns from a file:

My input.csv file (with tab)

Otu1 otu2 otu3 otu4 otu5  
1    2    5    9    3  
8    9    8    4    2

I would like to remove a column if its header is listed in this file (remove.txt)

otu2  
otu3

So the result would be:

Otu 1 otu4 otu5  
1     9    3  
8     4    2

How can I do this? (Sorry if it is not clear, I am French :) )

added 22 characters in body
Source Link

I have a problem with removing columns from a file:

My input.csv file (with tab) 
Otu1 otu2 otu3 otu4 otu5
1 2 5 9 3 
8 9 8 4 2

I would like to remove a column if its header is listed in this file remove

remove.txt 
otu2 
otu3

So the result would be: Otu

Otu 1 otu4 otu5
1 9 3 
8 4 2

How can I do this? Thanks for your help! (Sorry if it not clear, I am French :) )

I have a problem with removing columns from a file:

My input.csv file (with tab) Otu1 otu2 otu3 otu4 otu5
1 2 5 9 3 8 9 8 4 2

I would like to remove a column if its header is listed in this file remove.txt otu2 otu3

So the result would be: Otu 1 otu4 otu5
1 9 3 8 4 2

How can I do this? Thanks for your help! (Sorry if it not clear, I am French :) )

I have a problem with removing columns from a file:

My input.csv file (with tab) 
Otu1 otu2 otu3 otu4 otu5
1 2 5 9 3 
8 9 8 4 2

I would like to remove a column if its header is listed in this file

remove.txt 
otu2 
otu3

So the result would be:

Otu 1 otu4 otu5
1 9 3 
8 4 2

How can I do this? Thanks for your help! (Sorry if it not clear, I am French :) )

added 22 characters in body
Source Link
Loading
Post Closed as "Needs details or clarity" by jasonwryan, HalosGhost, techraf, sam, Wildcard
Source Link
Loading