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

Give users controls over track weights. #127

Open
EricR86 opened this issue Jun 25, 2018 · 2 comments
Open

Give users controls over track weights. #127

EricR86 opened this issue Jun 25, 2018 · 2 comments

Comments

@EricR86
Copy link
Member

EricR86 commented Jun 25, 2018

Original report (BitBucket issue) by Mickaël Mendez (Bitbucket: Mickael Mendez).


The weight of each track is by default the ratio between the maximum number of data points in a track and the number of data point in the given track. In other words, it gives more weights to the tracks with the least data points.

It would be useful for the users to control the weights when the defaults are not appropriate. For example, one could set equal weights to all the tracks, or a higher weight to a transcription factor of interest.

Given the current Segway command line interface, the simplest implementation would make use of the --tracks-from option. This option takes as input a file with one column and the rows contain the track names. One could add a column “weight” to this file to specify the weight of each track.

The then the weight information should be passed to the structure.py module and make_mapping method. Any comments regarding how to pass the weight information are welcome.

Note that the weights should be added to the train.tab file.

@EricR86
Copy link
Member Author

EricR86 commented Jun 25, 2018

Original comment by Mickaël Mendez (Bitbucket: Mickael Mendez).


  • Edited issue description

1 similar comment
@EricR86
Copy link
Member Author

EricR86 commented Jun 25, 2018

Original comment by Mickaël Mendez (Bitbucket: Mickael Mendez).


  • Edited issue description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant