comparison todo.md @ 0:f493979f1408 draft default tip

planemo upload for repository https://github.com/Yating-L/hubarchivecreator-test commit 48b59e91e2dcc2e97735ee35d587960cbfbce932-dirty
author yating-l
date Wed, 21 Dec 2016 12:13:04 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f493979f1408
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 - [ ] Parse the [JSON received from Galaxy inputs](hubArchiveCreator.xml#L47-L137) in a class instead of doing [this spaghetti code](hubArchiveCreator.py#L137-L149)
9 - [ ] 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
10 - [ ] Move the class and others program related files, into separated folders
11 - [ ] Take into account the name of the reference genome / the change:
12 - [ ] Somebody could want to launch two visualisations of two different genomes. Repeats of Genome with extensions associated
13 - [ ] Replace Gff3/GTF by an abstract class GeneralFormat, with two sub-classes GFF3Format and GTFFormat
14 - [ ] 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
15 - [ ] Remove the non-explicit parameters for the communication between Galaxy Wrapper and the entry point
16 - [ ] Rename all occurences of `extension` with `datatype`
17 - [ ] Follow https://google.github.io/styleguide/pyguide.html
18 - [ ] Migrate to Python 3
19 - [ ] Remove the repetition of the extension file if it already exists
20 - [ ] Better thinking about the tool_directory management / Classes path refactoring
21
22 ### DONE
23
24
25 - [x] Add TDD => First add the test. It should not pass. Implement. It should now pass :)
26 - [x] TrackHub should check if the 2bit already exists instead of recreating it (which is the case atm)
27 - [x] Add a debug mode to have more outputs
28 - [x] Improve the standard output of HAC
29 - [x] Each time a file is added => Print it in the output with the full path (or relative path to root)
30 - [x] Find why a $ (newline) is added when installing dependencies from tool_dependencies.xml
31 - [x] Sort the order of the HTML directories/files
32 - [x] Add a script for Linux.x86_64 to download and and chmod +x the dependencies for local testing => util/install_linux_binaries.py
33 - [x] Add sorting BED if not sorted (Use the output of bedToBigBed)
34 - [x] Add a script to install the huba datatype
35 - [x] Add the possibility to add a new item in TrackDb.txt through a public function from TrackHub.py => addTrack() in TrackHub.py
36 - [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
37 - [x] Add a class named ~~TrfBigProcess~~ BedSimpleRepeats
38 - [x] Add a class named TrackHub: Create the base TrackHub hierarchy
39 - [x] Change the Name of the classes
40 - [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)
41 - [x] Add a class named AugustusProcess
42 - [x] Process the Augustus output to BigBed
43 - [x] create folders + add the files into the right location
44 - [x] Creation of folders to be ported into a separated class => In Datatype.py but should be into a dedicated to file manipulation class
45 - [x] Refactoring of the AugustusProcess class to behave like a class and not like a procedural masked into a class
46 - [x] Rename AugustusProcess into something more generic if the process is shared (gtf to BigBed) => Gff3.py
47 - [x] Use gffToBed for Gtf instead of GtfToGenePred => Cancelled
48 - [x] Clean the mess with the File handling (sometimes File, sometimes String, sometimes open File)
49 - [x] Find a way to avoid repetitions in TrackDb and Track (I repeat myself atm) => Track instance has a TrackDb instance as attribute
50 - [x] Refactor the creation of the structure to TrackHub: Access to paths via this Class, and creation of file through it