A year ago, one of my friend (his lab is different) discussed an algorithm with me and since then we are working on it and we also used some publicly available data to test it. The thing is, now we have some results and we want to publish our results. This project is completely different from our PhD projects. We are now confused while writing the manuscript. Do we have to mention any funding because for this project no funding was involved? I was thinking to discuss it with my supervisor but my friend does not support the idea that we should discuss it with our supervisors. It would be helpful if you can share what would you do if you are working on some project at personal level and you want to publish (as a PhD student)?
I recommend you guys to check first with your supervisors, just to be clear, avoid IP problems and not creating a "conflict of interests" issue. You don't need to report any funding in your publication specially when you didn't have any.
Did you do this in your spare time or in work time?
I've published spare time projects without discussing it with my supervisor, just as I wouldn't discuss editing Wikipedia, posing on forums, etc. However, some of the people I published with did get clearance from their supervisors, and used official affiliation, email, etc. (which was fine by me). If you did this during work time or using institute resources, I'd recommend talking to your supervisor about it. When 'private' projects intersect with work time, I think it's fine to add your supervisor as an author.