MiraldiLab / maxATAC

Transcription Factor Binding Prediction from ATAC-seq and scATAC-seq with Deep Neural Networks
Apache License 2.0
26 stars 9 forks source link

Develop is46 #48

Closed tacazares closed 3 years ago

tacazares commented 3 years ago

This pull request has made changes to the training data generator to fix the bug in #46. The fix that was implemented is here:

            try:
                # Get the target matrix
                target_vector = np.array(binding_stream.values(chrom_name, start, end)).T

            except:
                # TODO change length of array
                target_vector = np.zeros(1024)

Additional updates to the docs were made. I also made changes to the setup.py file by including the import of pyyaml. There is still an error with sklearn and the new updates that is fixed modifying the import statements in modisco.