Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add genetic length (cM) of segments to final .match file #3

Open
natwine opened this issue Oct 8, 2019 · 1 comment
Open

add genetic length (cM) of segments to final .match file #3

natwine opened this issue Oct 8, 2019 · 1 comment
Assignees

Comments

@natwine
Copy link
Collaborator

natwine commented Oct 8, 2019

please could you add genetic length in cM to the final post-masked .match files. Ideally these will be all the segments that have been used in the relationship estimation step.

We agreed to adjust GERMLINE analysis step to identify segments 3cM or larger. Segment length will be set as a parameter for the user to specify, with the default value being 3cM.

@piotrszul
Copy link
Collaborator

Made the following modifications:

  • added a config parameter min_seg_len (default = 3.0 [cM]) which is being used for germline and IBD0 estimation. It can be set either in config.yaml or from command line with --config min_seg_len=2.0 etc.
  • ersa masking step (FPI) now outputs segments with length in [cM].
  • the IDB0/relatedness estimation now (IBD) now outputs an extra file XXX_IBD-segments.match.gz with the segment that were used for IBD0/degree estimation (in germline match file format)

piotrszul added a commit that referenced this issue Oct 10, 2019
* Added saving of actual segments used for IBD estimation in germline format to IBD estimation step

* Ouput from masking not produced segment with genetic lenght in cM

* Added "min_seg_len" parameter to use for germline and estimation:"
@piotrszul piotrszul assigned piotrszul and natwine and unassigned piotrszul Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants