Skip to content

Instantly share code, notes, and snippets.

@ericminikel
Created November 15, 2013 19:39
Show Gist options
  • Save ericminikel/7490344 to your computer and use it in GitHub Desktop.
Save ericminikel/7490344 to your computer and use it in GitHub Desktop.
drop table if exists ea1.fastqc_summary;
create table ea1.fastqc_summary (
fileid varchar,
module varchar,
status varchar
);
drop table if exists ea1.fastqc_details;
create table ea1.fastqc_details (
id serial primary key,
fileid varchar,
module varchar,
col1 varchar,
ocols varchar
);
copy ea1.fastqc_summary from 'fastqc_summary.txt';
copy ea1.fastqc_details (fileid, module, col1, ocols) from 'fastqc_details.txt';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment