reconstruction.ecoli.scripts.metabolite_concentrations.merge_files
Merge two or more concentration flat files with a single row for each metabolite and empty entries for missing concentration data.
- Usage with paths to tsv files to merge:
./merge_files [TSV1 TSV2 …]
- reconstruction.ecoli.scripts.metabolite_concentrations.merge_files.load_conc(filename)[source]
Load concentration data from a tsv file. First column should be metabolite ID and second column should be concentration. Does not handle more than one concentration column at this point.
- Parameters:
filename (str) – path to concentration tsv file
- Returns:
header describing the concentration data conc: metabolite ID to concentration
- Return type:
label