comparison todo.md @ 1:fb5e60d4d18a draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 64cfc08088d11f6818c1b4e5514ef9e67969eaff-dirty
author rmarenco
date Wed, 13 Jul 2016 13:36:37 -0400
parents
children fcff8e9146e7
comparison
equal deleted inserted replaced
0:0f3bc17e5ede 1:fb5e60d4d18a
1 # HubArchiveCreator's TODO
2
3 *TODO file inspired from: http://lifehacker.com/why-a-github-gist-is-my-favorite-to-do-list-1493063613*
4
5 ### TO COMPLETE
6
7
8 - [ ] Don't let the Tool Classes manage the archive (add or remove files / folders) => Everything should pass through TrackHub or another class dedicated to that
9 - [ ] Move the class and others program related files, into separated folders
10 - [ ] Take into account the name of the reference genome / the change:
11 - [ ] Somebody could want to launch two visualisations of two different genomes. Repeats of Genome with extensions associated
12 - [ ] Add TDD => First add the test. It should not pass. Implement. It should now pass :)
13 - [ ] Replace Gff3 by an abstract class GeneralFormat, with two sub-classes GFF3Format and GTFFormat
14 - [ ] TrackHub should check if the 2bit already exists instead of recreating it (which is the case atm)
15 - [ ] Manage the error when a user is selecting Generic Bed instead of Bed Simple Repeats. Two options: a. Output a better error message ("Check with the other Bed options") b. Identify internally this is not a regular BED but a specific one
16 - [ ] Remove the non-explicit parameters for the communication between Galaxy Wrapper and the entry point
17 - [ ] Rename all occurences of `extension` which `datatype`
18 - [ ] Follow https://google.github.io/styleguide/pyguide.html
19 - [ ] Move to Python 3
20 - [ ] Remove the repetition of the extension if it already exists
21 - [ ] Better thinking about the tool_directory management / Classes path refactoring
22 - [ ] Add a debug mode to have more outputs
23 - [ ] Improve the standard output of HAC
24
25 ### DONE
26
27
28 - [x] Each time a file is added => Print it in the output with the full path (or relative path to root)
29 - [x] Add a script for Linux.x86_64 to download and and chmod +x the dependencies for local testing => util/install_linux_binaries.py
30 - [x] Add sorting BED if not sorted (Use the output of bedToBigBed)
31 - [x] Add a script to install the huba datatype
32 - [x] Add the possibility to add a new item in TrackDb.txt through a public function from TrackHub.py => addTrack() in TrackHub.py
33 - [x] Fix the errors for the stdio regexp not properly processed in error case (always green) => Used `detect_errors` in galaxy wrapper and raise Exception in Python
34 - [x] Add a class named ~~TrfBigProcess~~ BedSimpleRepeats
35 - [x] Add a class named TrackHub: Create the base TrackHub hierarchy
36 - [x] Change the Name of the classes
37 - [x] Add a class named AugustusProcess: Process the Augustus output to BigBed (and others needed in TrackHub) and (create folders + add the files into the right location => Process can be ported in a class responsible for that)
38 - [x] Add a class named AugustusProcess
39 - [x] Process the Augustus output to BigBed
40 - [x] create folders + add the files into the right location
41 - [x] Creation of folders to be ported into a separated class => In Datatype.py but should be into a dedicated to file manipulation class
42 - [x] Refactoring of the AugustusProcess class to behave like a class and not like a procedural masked into a class
43 - [x] Rename AugustusProcess into something more generic if the process is shared (gtf to BigBed) => Gff3.py
44 - [x] Use gffToBed for Gtf instead of GtfToGenePred => Cancelled
45 - [x] Clean the mess with the File handling (sometimes File, sometimes String, sometimes open File)
46 - [x] Find a way to avoid repetitions in TrackDb and Track (I repeat myself atm) => Track instance has a TrackDb instance as attribute
47 - [x] Refactor the creation of the structure to TrackHub: Access to paths via this Class, and creation of file through it