cutevariant icon indicating copy to clipboard operation
cutevariant copied to clipboard

[PED] Add information in PED column

Open antonylebechec opened this issue 2 years ago • 1 comments

In order to add information on samples through PED file, use column (>6) to create new column in the samples table.

Suggestion (depend on the strategy):

  • control column, by defining them strictly (e.g. column 7 for HPO, column 8 for Tags...)
  • add a header on PED file to control field/column name
  • autodetect tags in column >6

antonylebechec avatar Apr 25 '22 16:04 antonylebechec

In STARK, a PED file can contain more column that 6. A header (first line) define the header, and column name (from 7th column). If column name is "tags" or "#tags", this is the tags column. The same can be donne for all type of column (e.g. HPO).

I suggest that if the first line is a comment (start with "#"), this is a header that define column/fields name. And depending on names, a action is done (tags, hpo...) to include value in samples table fields (and create the field if needed)

antonylebechec avatar Apr 25 '22 17:04 antonylebechec