User Profile

Collapse

Profile Sidebar

Collapse
blairb
blairb
Last Activity: Mar 11 '14, 06:28 AM
Joined: Feb 19 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Many thanks for the response, it's much appreciated.

    My coding is far from advanced, so just to clarify - do I need to put any parameters in the '{}' field?
    i.e. I've got a file with the samples I want (ids.csv) and the data file (samples.xls) so my code would simply be

    Code:
    cat ids.csv | xargs -I '{}' grep '{}' samples.xls > catdata.xls
    Is this correct?
    See more | Go to post

    Leave a comment:


  • blairb
    started a topic Pulling a subset of data from a larger data set

    Pulling a subset of data from a larger data set

    Hi,

    I've got a file that's ~8,500 lines long and I want to pull out a subset of ~1,500 of these lines. Each line is a specific sample and I have a list of samples that I want to pull from this main data file. Just wondering which command would be best to implement this.

    Regards,
    Blair
    See more | Go to post
No activity results to display
Show More
Working...